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

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

Issue 12095023: Allow platform apps to add themselves to the Action Box. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Use raw pointer + IconImage signature changed Created 7 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 | « chrome/common/extensions/api/api.gyp ('k') | chrome/common/extensions/api/extension_action/action_info.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/api/extension_action/action_info.h
diff --git a/chrome/common/extensions/api/extension_action/action_info.h b/chrome/common/extensions/api/extension_action/action_info.h
index c17759a415c8ee8c00494a36bab295739fd827ac..1f148ef2ebeede6e126f8218e315357f8389cdaa 100644
--- a/chrome/common/extensions/api/extension_action/action_info.h
+++ b/chrome/common/extensions/api/extension_action/action_info.h
@@ -33,12 +33,18 @@ struct ActionInfo {
// Returns the extension's script badge.
static const ActionInfo* GetScriptBadgeInfo(const Extension* etxension);
+ // Returns the extension's page launcher.
+ static const ActionInfo* GetPageLauncherInfo(const Extension* extension);
+
// Sets the extension's browser action. |extension| takes ownership of |info|.
static void SetBrowserActionInfo(Extension* extension, ActionInfo* info);
// Sets the extension's script badge. |extension| takes ownership of |info|.
static void SetScriptBadgeInfo(Extension* etxension, ActionInfo* info);
+ // Sets the extension's page launcher. |extension| takes ownership of |info|.
+ static void SetPageLauncherInfo(Extension* extension, ActionInfo* info);
+
// Empty implies the key wasn't present.
ExtensionIconSet default_icon;
std::string default_title;
« no previous file with comments | « chrome/common/extensions/api/api.gyp ('k') | chrome/common/extensions/api/extension_action/action_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698