summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/extensions')
-rw-r--r--chrome/browser/extensions/api/commands/command_service.h2
-rw-r--r--chrome/browser/extensions/extension_keybinding_registry.h4
2 files changed, 5 insertions, 1 deletions
diff --git a/chrome/browser/extensions/api/commands/command_service.h b/chrome/browser/extensions/api/commands/command_service.h
index 7814792..a8d18812 100644
--- a/chrome/browser/extensions/api/commands/command_service.h
+++ b/chrome/browser/extensions/api/commands/command_service.h
@@ -46,7 +46,7 @@ class CommandService : public ProfileKeyedService,
// Register prefs for keybinding.
static void RegisterUserPrefs(PrefService* user_prefs);
- // Constructs an CommandService object for the given profile.
+ // Constructs a CommandService object for the given profile.
explicit CommandService(Profile* profile);
virtual ~CommandService();
diff --git a/chrome/browser/extensions/extension_keybinding_registry.h b/chrome/browser/extensions/extension_keybinding_registry.h
index 39ca0d9..ff0850e 100644
--- a/chrome/browser/extensions/extension_keybinding_registry.h
+++ b/chrome/browser/extensions/extension_keybinding_registry.h
@@ -28,6 +28,10 @@ class ExtensionKeybindingRegistry : public content::NotificationObserver {
explicit ExtensionKeybindingRegistry(Profile* profile);
virtual ~ExtensionKeybindingRegistry();
+ // Enables/Disables general shortcut handing in Chrome. Implemented in
+ // platform-specific ExtensionKeybindingsRegistry* files.
+ static void SetShortcutHandlingSuspended(bool suspended);
+
// Overridden from content::NotificationObserver:
virtual void Observe(int type,
const content::NotificationSource& source,