OLD | NEW |
(Empty) | |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 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 "base/logging.h" |
| 6 #include "chrome/browser/extensions/global_shortcut_listener_athena.h" |
| 7 |
| 8 namespace extensions { |
| 9 |
| 10 // static |
| 11 GlobalShortcutListener* GlobalShortcutListener::GetInstance() { |
| 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 |