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

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

Issue 256032: Add an API to manipulate the browser action badge. (Closed)
Patch Set: meet halfway Created 11 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 | « no previous file | chrome/browser/extensions/extension_browser_actions_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_browser_actions_api.h
diff --git a/chrome/browser/extensions/extension_browser_actions_api.h b/chrome/browser/extensions/extension_browser_actions_api.h
index 91f2eb0968da43e6d0a373f2fc59fc19c8b72a58..e08baa425c4a952c46aa438485952cd40cb21890 100755
--- a/chrome/browser/extensions/extension_browser_actions_api.h
+++ b/chrome/browser/extensions/extension_browser_actions_api.h
@@ -15,11 +15,22 @@ class BrowserActionSetIconFunction : public SyncExtensionFunction {
virtual bool RunImpl();
};
+class BrowserActionSetBadgeTextFunction : public SyncExtensionFunction {
+ virtual bool RunImpl();
+};
+
+class BrowserActionSetBadgeBackgroundColorFunction
+ : public SyncExtensionFunction {
+ virtual bool RunImpl();
+};
+
namespace extension_browser_actions_api_constants {
// Function names.
extern const char kSetNameFunction[];
extern const char kSetIconFunction[];
+extern const char kSetBadgeTextFunction[];
+extern const char kSetBadgeBackgroundColorFunction[];
}; // namespace extension_browser_actions_api_constants
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_browser_actions_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698