Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1342)

Unified Diff: chrome/browser/extensions/global_shortcut_listener_athena.cc

Issue 697803002: Use a stub implementation of GlobalShortcutListener for Athena (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@athena_do_not_use_ash47_media_stub
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/extensions/global_shortcut_listener_athena.h ('k') | chrome/chrome_browser_extensions.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..05ed85dccd77ec017a773487150824c89dee3e93
--- /dev/null
+++ b/chrome/browser/extensions/global_shortcut_listener_athena.cc
@@ -0,0 +1,43 @@
+// Copyright 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "base/logging.h"
+#include "chrome/browser/extensions/global_shortcut_listener_athena.h"
+
+namespace extensions {
+
+// static
+GlobalShortcutListener* GlobalShortcutListener::GetInstance() {
+ 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
« no previous file with comments | « chrome/browser/extensions/global_shortcut_listener_athena.h ('k') | chrome/chrome_browser_extensions.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698