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

Unified Diff: chrome/browser/extensions/extension_commands_global_registry.h

Issue 838253004: MacViews: Fix duplicate definition of ExtensionKeyBindingRegistry::SetShortcutHandlingSuspended (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@DragBookmarks2
Patch Set: Fix Mac Created 5 years, 11 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 | « no previous file | chrome/browser/extensions/extension_commands_global_registry.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_commands_global_registry.h
diff --git a/chrome/browser/extensions/extension_commands_global_registry.h b/chrome/browser/extensions/extension_commands_global_registry.h
index 06efa812a56c92bf99d0d9edbdf6bfc232d918f7..22d1ed4f374029c5d722ca032fbedb27fbadbe7f 100644
--- a/chrome/browser/extensions/extension_commands_global_registry.h
+++ b/chrome/browser/extensions/extension_commands_global_registry.h
@@ -41,9 +41,6 @@ class ExtensionCommandsGlobalRegistry
// profile.
static ExtensionCommandsGlobalRegistry* Get(content::BrowserContext* context);
- // Enables/Disables global shortcut handling in Chrome.
- static void SetShortcutHandlingSuspended(bool suspended);
-
explicit ExtensionCommandsGlobalRegistry(content::BrowserContext* context);
~ExtensionCommandsGlobalRegistry() override;
@@ -74,6 +71,7 @@ class ExtensionCommandsGlobalRegistry
const std::string& command_name) override;
void RemoveExtensionKeybindingImpl(const ui::Accelerator& accelerator,
const std::string& command_name) override;
+ void OnShortcutHandlingSuspended(bool suspended) override;
// Called by the GlobalShortcutListener object when a shortcut this class has
// registered for has been pressed.
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_commands_global_registry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698