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

Unified Diff: chrome/common/extensions/extension_action.h

Issue 10855154: Update browserAction.setIcon and pageAction.setIcon for hidpi (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 3 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 | « chrome/common/extensions/api/page_action.json ('k') | chrome/common/extensions/extension_action.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/extension_action.h
diff --git a/chrome/common/extensions/extension_action.h b/chrome/common/extensions/extension_action.h
index d111678b525a41e04d0c2eed4cd7a02cae1a11fa..1411abe8cf3eb42185553d4e72cb6ab08f182d0b 100644
--- a/chrome/common/extensions/extension_action.h
+++ b/chrome/common/extensions/extension_action.h
@@ -178,6 +178,9 @@ class ExtensionAction {
// returns the puzzle piece icon.
gfx::Image GetIcon(int tab_id) const;
+ // Gets the icon that has been set using |SetIcon| for the tab.
+ gfx::ImageSkia GetExplicitlySetIcon(int tab_id) const;
+
// Set this action's icon index for a specific tab. For use with
// icon_paths(), only used in page actions.
void SetIconIndex(int tab_id, int index);
« no previous file with comments | « chrome/common/extensions/api/page_action.json ('k') | chrome/common/extensions/extension_action.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698