#include "chrome/browser/ui/views/extensions/extension_keybinding_registry_views.h"
#include "chrome/browser/extensions/commands/command_service.h"
#include "chrome/browser/extensions/extension_keybinding_registry.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/extensions/accelerator_priority.h"
#include "extensions/common/extension.h"
#include "ui/views/focus/focus_manager.h"
ExtensionKeybindingRegistryViews::ExtensionKeybindingRegistryViews(
Profile* profile,
views::FocusManager* focus_manager,
ExtensionFilter extension_filter,
Delegate* delegate)
: … { … }
ExtensionKeybindingRegistryViews::~ExtensionKeybindingRegistryViews() { … }
void ExtensionKeybindingRegistryViews::AddExtensionKeybindings(
const extensions::Extension* extension,
const std::string& command_name) { … }
void ExtensionKeybindingRegistryViews::RemoveExtensionKeybindingImpl(
const ui::Accelerator& accelerator,
const std::string& command_name) { … }
void ExtensionKeybindingRegistryViews::OnShortcutHandlingSuspended(
bool suspended) { … }
bool ExtensionKeybindingRegistryViews::AcceleratorPressed(
const ui::Accelerator& accelerator) { … }
bool ExtensionKeybindingRegistryViews::CanHandleAccelerators() const { … }