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

Side by Side 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 unified diff | Download patch
OLDNEW
(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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698