#include "chrome/browser/extensions/global_shortcut_listener.h"
#include "base/check.h"
#include "base/not_fatal_until.h"
#include "base/notreached.h"
#include "content/public/browser/browser_thread.h"
#include "ui/base/accelerators/accelerator.h"
BrowserThread;
namespace extensions {
GlobalShortcutListener::GlobalShortcutListener()
: … { … }
GlobalShortcutListener::~GlobalShortcutListener() { … }
bool GlobalShortcutListener::RegisterAccelerator(
const ui::Accelerator& accelerator, Observer* observer) { … }
void GlobalShortcutListener::UnregisterAccelerator(
const ui::Accelerator& accelerator, Observer* observer) { … }
void GlobalShortcutListener::UnregisterAccelerators(Observer* observer) { … }
void GlobalShortcutListener::SetShortcutHandlingSuspended(bool suspended) { … }
bool GlobalShortcutListener::IsShortcutHandlingSuspended() const { … }
void GlobalShortcutListener::NotifyKeyPressed(
const ui::Accelerator& accelerator) { … }
}