Home | History | Annotate | Download | only in browser

Lines Matching refs:extension

14 #include "chrome/common/extensions/extension.h"
33 // Invoked when data that the model associates with the extension, such as
35 virtual void OnApplicationDataChanged(const Extension* extension);
37 // Invoked when the model detects a previously unknown extension and/or when
38 // it no longer detects a previously known extension.
53 // Return the icon associated with |extension| or NULL. NULL indicates either
54 // that there is no icon associated with the extension, or that a pending
59 // NOTE: All icons are currently sized as Extension::EXTENSION_ICON_BITTY.
60 const SkBitmap* GetIcon(const Extension* extension);
62 // Return the position of |extension| within this list model.
63 int GetPosition(const Extension* extension) const;
65 // Return the extension at the specified |position| in this list model.
66 const Extension* GetExtension(int position) const;
68 // Returns true if the passed extension is a background app.
69 static bool IsBackgroundApp(const Extension& extension);
88 // represented by the Extension class.
91 // Associates extension id strings with Application objects.
94 // Identifies and caches data related to the extension.
95 void AssociateApplicationData(const Extension* extension);
97 // Clears cached data related to |extension|.
98 void DissociateApplicationData(const Extension* extension);
100 // Returns the Application associated with |extension| or NULL.
101 const Application* FindApplication(const Extension* extension) const;
103 // Returns the Application associated with |extension| or NULL.
104 Application* FindApplication(const Extension* extension);
113 void OnApplicationDataChanged(const Extension* extension);
120 void OnExtensionLoaded(Extension* extension);
123 void OnExtensionUnloaded(const Extension* extension);