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

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

Issue 10565017: Parse the script_badge manifest section. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Back out support for setting switches in unittests. Created 8 years, 6 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/extension.cc ('k') | chrome/common/extensions/extension_manifest_constants.h » ('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 89c2957e20644bacd050ffa706069e158a48362e..c54faec4aa8eb3c2430b4ddbec24d43704e7615d 100644
--- a/chrome/common/extensions/extension_action.h
+++ b/chrome/common/extensions/extension_action.h
@@ -21,7 +21,8 @@ class Rect;
class GURL;
class SkBitmap;
-// ExtensionAction encapsulates the state of a browser or page action.
+// ExtensionAction encapsulates the state of a browser action, page action, or
+// script badge.
// Instances can have both global and per-tab state. If a property does not have
// a per-tab value, the global value is used instead.
class ExtensionAction {
@@ -35,6 +36,7 @@ class ExtensionAction {
TYPE_NONE,
TYPE_BROWSER,
TYPE_PAGE,
+ TYPE_SCRIPT_BADGE,
};
explicit ExtensionAction(const std::string& extension_id);
« no previous file with comments | « chrome/common/extensions/extension.cc ('k') | chrome/common/extensions/extension_manifest_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698