OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | |
oshima
2014/11/03 21:34:59
nit: 2014
| |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #include "chrome/browser/extensions/global_shortcut_listener_athena.h" | |
6 | |
7 namespace extensions { | |
8 | |
9 // static | |
10 GlobalShortcutListener* GlobalShortcutListener::GetInstance() { | |
11 CHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); | |
12 static GlobalShortcutListenerAthena* instance = | |
13 new GlobalShortcutListenerAthena(); | |
14 return instance; | |
15 } | |
16 | |
17 GlobalShortcutListenerAthena::GlobalShortcutListenerAthena() { | |
18 // TODO: Compile out the CommandService on Athena. crbug.com/429398 | |
19 } | |
20 | |
21 GlobalShortcutListenerAthena::~GlobalShortcutListenerAthena() { | |
22 } | |
23 | |
24 void GlobalShortcutListenerAthena::StartListening() { | |
25 NOTIMPLEMENTED(); | |
26 } | |
27 | |
28 void GlobalShortcutListenerAthena::StopListening() { | |
29 NOTIMPLEMENTED(); | |
30 } | |
31 | |
32 bool GlobalShortcutListenerAthena::RegisterAcceleratorImpl( | |
33 const ui::Accelerator& accelerator) { | |
34 NOTIMPLEMENTED(); | |
35 return false; | |
36 } | |
37 | |
38 void GlobalShortcutListenerAthena::UnregisterAcceleratorImpl( | |
39 const ui::Accelerator& accelerator) { | |
40 NOTIMPLEMENTED(); | |
41 } | |
42 | |
43 } // namespace extensions | |
OLD | NEW |