Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3062)

Unified Diff: chrome/browser/extensions/extension_tab_helper.h

Issue 9590001: Launch panels as popup windows in Aura, and add separate launcher icon logic for panels. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: . Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_tab_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_tab_helper.h
diff --git a/chrome/browser/extensions/extension_tab_helper.h b/chrome/browser/extensions/extension_tab_helper.h
index dd1edc8a009cbd7d9d2ef19a47202e82c1ec35fd..4d2f47eddaa38fbf8ba348eea9421803e752bc41 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,
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_tab_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698