diff options
author | stevenjb@chromium.org <stevenjb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-06 02:47:51 +0000 |
---|---|---|
committer | stevenjb@chromium.org <stevenjb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-06 02:47:51 +0000 |
commit | dd290d3f062e30567a3068ab1793998152c14297 (patch) | |
tree | 22d2eeab01f6b0763b31352b85c4e9de7e8cc90c /chrome/browser/extensions/extension_tab_helper.h | |
parent | f47f3bb594b063d5539373c656b0b2fb39780ea1 (diff) | |
download | chromium_src-dd290d3f062e30567a3068ab1793998152c14297.zip chromium_src-dd290d3f062e30567a3068ab1793998152c14297.tar.gz chromium_src-dd290d3f062e30567a3068ab1793998152c14297.tar.bz2 |
Launch panels as popup windows in Aura, and add separate launcher icon logic for panels.
BUG=115901
TEST=Scratchpad and GTalk apps should open popup windows with a launcher icon (currently the blown up favicon, that will change in a follow up CL).
Review URL: http://codereview.chromium.org/9590001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125080 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extension_tab_helper.h')
-rw-r--r-- | chrome/browser/extensions/extension_tab_helper.h | 5 |
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, |