summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/views/extensions/extension_keybinding_registry_views.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/ui/views/extensions/extension_keybinding_registry_views.cc')
-rw-r--r--chrome/browser/ui/views/extensions/extension_keybinding_registry_views.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome/browser/ui/views/extensions/extension_keybinding_registry_views.cc b/chrome/browser/ui/views/extensions/extension_keybinding_registry_views.cc
index 6a319d6..1f70e16 100644
--- a/chrome/browser/ui/views/extensions/extension_keybinding_registry_views.cc
+++ b/chrome/browser/ui/views/extensions/extension_keybinding_registry_views.cc
@@ -7,11 +7,18 @@
#include "chrome/browser/extensions/api/commands/command_service.h"
#include "chrome/browser/extensions/api/commands/command_service_factory.h"
#include "chrome/browser/extensions/extension_browser_event_router.h"
+#include "chrome/browser/extensions/extension_keybinding_registry.h"
#include "chrome/browser/extensions/extension_service.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/common/extensions/extension.h"
#include "ui/views/focus/focus_manager.h"
+// static
+void extensions::ExtensionKeybindingRegistry::SetShortcutHandlingSuspended(
+ bool suspended) {
+ views::FocusManager::set_shortcut_handling_suspended(suspended);
+}
+
ExtensionKeybindingRegistryViews::ExtensionKeybindingRegistryViews(
Profile* profile, views::FocusManager* focus_manager)
: ExtensionKeybindingRegistry(profile),