summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extension_tab_helper.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/extensions/extension_tab_helper.h')
-rw-r--r--chrome/browser/extensions/extension_tab_helper.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/extensions/extension_tab_helper.h b/chrome/browser/extensions/extension_tab_helper.h
index dd1edc8..4d2f47e 100644
--- a/chrome/browser/extensions/extension_tab_helper.h
+++ b/chrome/browser/extensions/extension_tab_helper.h
@@ -66,6 +66,9 @@ class ExtensionTabHelper
// specified id.
void SetExtensionAppById(const std::string& extension_app_id);
+ // Set just the app icon, used by panels created by an extension.
+ void SetExtensionAppIconById(const std::string& extension_app_id);
+
const Extension* extension_app() const { return extension_app_; }
bool is_app() const { return extension_app_ != NULL; }
const WebApplicationInfo& web_app_info() const {
@@ -121,6 +124,8 @@ class ExtensionTabHelper
// ImageLoadingTracker to load the extension's image.
void UpdateExtensionAppIcon(const Extension* extension);
+ const Extension* GetExtension(const std::string& extension_app_id);
+
// ImageLoadingTracker::Observer.
virtual void OnImageLoaded(const gfx::Image& image,
const std::string& extension_id,