Index: chrome/browser/extensions/global_shortcut_listener_athena.cc |
diff --git a/chrome/browser/extensions/global_shortcut_listener_athena.cc b/chrome/browser/extensions/global_shortcut_listener_athena.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..f147ef55f238d4ca23b27b6d74e331959894cd46 |
--- /dev/null |
+++ b/chrome/browser/extensions/global_shortcut_listener_athena.cc |
@@ -0,0 +1,43 @@ |
+// Copyright 2013 The Chromium Authors. All rights reserved. |
oshima
2014/11/03 21:34:59
nit: 2014
|
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#include "chrome/browser/extensions/global_shortcut_listener_athena.h" |
+ |
+namespace extensions { |
+ |
+// static |
+GlobalShortcutListener* GlobalShortcutListener::GetInstance() { |
+ CHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
+ static GlobalShortcutListenerAthena* instance = |
+ new GlobalShortcutListenerAthena(); |
+ return instance; |
+} |
+ |
+GlobalShortcutListenerAthena::GlobalShortcutListenerAthena() { |
+ // TODO: Compile out the CommandService on Athena. crbug.com/429398 |
+} |
+ |
+GlobalShortcutListenerAthena::~GlobalShortcutListenerAthena() { |
+} |
+ |
+void GlobalShortcutListenerAthena::StartListening() { |
+ NOTIMPLEMENTED(); |
+} |
+ |
+void GlobalShortcutListenerAthena::StopListening() { |
+ NOTIMPLEMENTED(); |
+} |
+ |
+bool GlobalShortcutListenerAthena::RegisterAcceleratorImpl( |
+ const ui::Accelerator& accelerator) { |
+ NOTIMPLEMENTED(); |
+ return false; |
+} |
+ |
+void GlobalShortcutListenerAthena::UnregisterAcceleratorImpl( |
+ const ui::Accelerator& accelerator) { |
+ NOTIMPLEMENTED(); |
+} |
+ |
+} // namespace extensions |