| Index: chrome/browser/extensions/extension_keybinding_registry.cc
|
| diff --git a/chrome/browser/extensions/extension_keybinding_registry.cc b/chrome/browser/extensions/extension_keybinding_registry.cc
|
| index 22837a82a1b36a0831e0030efa77d2e29a56bb8c..0d815a27966e92d5e3dd1fb68a39bb6a58a59218 100644
|
| --- a/chrome/browser/extensions/extension_keybinding_registry.cc
|
| +++ b/chrome/browser/extensions/extension_keybinding_registry.cc
|
| @@ -21,6 +21,8 @@ const char kOnCommandEventName[] = "commands.onCommand";
|
|
|
| namespace extensions {
|
|
|
| +bool ExtensionKeybindingRegistry::shortcut_handling_suspended_ = false;
|
| +
|
| ExtensionKeybindingRegistry::ExtensionKeybindingRegistry(
|
| content::BrowserContext* context,
|
| ExtensionFilter extension_filter,
|
| @@ -43,6 +45,16 @@ ExtensionKeybindingRegistry::ExtensionKeybindingRegistry(
|
| ExtensionKeybindingRegistry::~ExtensionKeybindingRegistry() {
|
| }
|
|
|
| +// static
|
| +void ExtensionKeybindingRegistry::SetShortcutHandlingSuspended(bool suspended) {
|
| + shortcut_handling_suspended_ = suspended;
|
| +}
|
| +
|
| +// static
|
| +bool ExtensionKeybindingRegistry::IsShortcutHandlingSuspended() {
|
| + return shortcut_handling_suspended_;
|
| +}
|
| +
|
| void ExtensionKeybindingRegistry::RemoveExtensionKeybinding(
|
| const Extension* extension,
|
| const std::string& command_name) {
|
|
|