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

Unified Diff: chrome/browser/ui/webui/extensions/command_handler.h

Issue 10514003: Config UI for Extension Commands (part 1). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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
Index: chrome/browser/ui/webui/extensions/command_handler.h
===================================================================
--- chrome/browser/ui/webui/extensions/command_handler.h (revision 140271)
+++ chrome/browser/ui/webui/extensions/command_handler.h (working copy)
@@ -42,6 +42,14 @@
// Replies back through: ExtensionCommandsOverlay.returnExtensionsData.
void HandleRequestExtensionsData(const base::ListValue* args);
+ // Handles requests from javascript to set a particular keyboard shortcut
+ // for a given extension command.
+ void HandleSetExtensionCommandShortcut(const base::ListValue* args);
+
+ // Handles requests from javascript to temporarily disable general Chrome
+ // shortcut handling while the web page is capturing which shortcut to use.
+ void HandleSetShortcutHandlingSuspended(const base::ListValue* args);
+
// Fetches all known commands, active and inactive and returns them through
// |commands|.
void GetAllCommands(base::DictionaryValue* commands);
« no previous file with comments | « chrome/browser/ui/views/frame/browser_view.cc ('k') | chrome/browser/ui/webui/extensions/command_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698