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

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: Eliminate ash::TYPE_PANEL 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
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 ef1bd99c250ba5ea6ff3780723f41ec1de264a15..69a805f553076d97b9dfa4a692a128793a23d55b 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(SkBitmap* image, const ExtensionResource& resource,
int index) OVERRIDE;
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_tab_helper.cc » ('j') | chrome/browser/extensions/extension_tab_helper.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698