| 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 c27f75c7007a967a93fe228a67b4867895e81755..92a7a8e42b4073ab50a7802fea22dc99b01f798e 100644
|
| --- a/chrome/browser/extensions/extension_commands_global_registry.h
|
| +++ b/chrome/browser/extensions/extension_commands_global_registry.h
|
| @@ -47,20 +47,6 @@
|
| explicit ExtensionCommandsGlobalRegistry(content::BrowserContext* context);
|
| virtual ~ExtensionCommandsGlobalRegistry();
|
|
|
| - // Returns which non-global command registry is active (belonging to the
|
| - // currently active window).
|
| - ExtensionKeybindingRegistry* registry_for_active_window() {
|
| - return registry_for_active_window_;
|
| - }
|
| -
|
| - void set_registry_for_active_window(ExtensionKeybindingRegistry* registry) {
|
| - registry_for_active_window_ = registry;
|
| - }
|
| -
|
| - // Returns whether |accelerator| is registered on the registry for the active
|
| - // window or on the global registry.
|
| - bool IsRegistered(const ui::Accelerator& accelerator);
|
| -
|
| private:
|
| friend class BrowserContextKeyedAPIFactory<ExtensionCommandsGlobalRegistry>;
|
|
|
| @@ -84,13 +70,6 @@
|
| // Weak pointer to our browser context. Not owned by us.
|
| content::BrowserContext* browser_context_;
|
|
|
| - // The global commands registry not only keeps track of global commands
|
| - // registered, but also of which non-global command registry is active
|
| - // (belonging to the currently active window). Only valid for TOOLKIT_VIEWS
|
| - // and
|
| - // NULL otherwise.
|
| - ExtensionKeybindingRegistry* registry_for_active_window_;
|
| -
|
| DISALLOW_COPY_AND_ASSIGN(ExtensionCommandsGlobalRegistry);
|
| };
|
|
|
|
|