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

Unified Diff: chrome/common/extensions/api/commands/commands_handler.h

Issue 12253022: Manifest handler for all keys background-related. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
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
« no previous file with comments | « chrome/chrome_common.gypi ('k') | chrome/common/extensions/api/commands/commands_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/api/commands/commands_handler.h
diff --git a/chrome/common/extensions/api/commands/commands_handler.h b/chrome/common/extensions/api/commands/commands_handler.h
index eb88ac727e3f532019887d8de9e3ca99fa0ce3f4..d38cc2be17e5525a042400c6cbe2f6167f609d5d 100644
--- a/chrome/common/extensions/api/commands/commands_handler.h
+++ b/chrome/common/extensions/api/commands/commands_handler.h
@@ -41,7 +41,7 @@ class CommandsHandler : public ManifestHandler {
virtual ~CommandsHandler();
virtual bool Parse(Extension* extension, string16* error) OVERRIDE;
- virtual bool AlwaysParseForType(Manifest::Type type) OVERRIDE;
+ virtual bool AlwaysParseForType(Manifest::Type type) const OVERRIDE;
private:
// If the extension defines a browser action, but no command for it, then
@@ -49,6 +49,10 @@ class CommandsHandler : public ManifestHandler {
// No keyboard shortcut will be assigned to it, until the user selects one.
void MaybeSetBrowserActionDefault(const Extension* extension,
CommandsInfo* info);
+
+ virtual const std::vector<std::string> Keys() const OVERRIDE;
+
+ DISALLOW_COPY_AND_ASSIGN(CommandsHandler);
};
} // namespace extensions
« no previous file with comments | « chrome/chrome_common.gypi ('k') | chrome/common/extensions/api/commands/commands_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698