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

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

Issue 11786003: Move Icons out of Extension class (Closed) Base URL: http://git.chromium.org/chromium/src.git@dc_unref_browser_action
Patch Set: 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
Index: chrome/common/extensions/api/extension_action/script_badge_handler.h
diff --git a/chrome/common/extensions/api/extension_action/script_badge_handler.h b/chrome/common/extensions/api/extension_action/script_badge_handler.h
index cff4698ee2cd85ff9097bcd0ef46f37b69d84c22..d539aafc693339c97d09b15559eb86cba0d8000f 100644
--- a/chrome/common/extensions/api/extension_action/script_badge_handler.h
+++ b/chrome/common/extensions/api/extension_action/script_badge_handler.h
@@ -20,6 +20,7 @@ class ScriptBadgeHandler : public ManifestHandler {
virtual ~ScriptBadgeHandler();
virtual bool Parse(Extension* extension, string16* error) OVERRIDE;
+ virtual const std::vector<std::string>& PrerequisiteKeys() OVERRIDE;
virtual bool AlwaysParseForType(Manifest::Type type) OVERRIDE;
private:
@@ -27,6 +28,10 @@ class ScriptBadgeHandler : public ManifestHandler {
// extension's title and icons. Performed whether or not the script_badge key
// is present in the manifest.
void SetActionInfoDefaults(const Extension* extension, ActionInfo* info);
+
+ std::vector<std::string> prerequisite_keys_;
+
+ DISALLOW_COPY_AND_ASSIGN(ScriptBadgeHandler);
};
} // namespace extensions

Powered by Google App Engine
This is Rietveld 408576698