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

Side by Side Diff: chrome/browser/extensions/global_shortcut_listener_athena.h

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 2014 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 #ifndef CHROME_BROWSER_EXTENSIONS_GLOBAL_SHORTCUT_LISTENER_ATHENA_H_
6 #define CHROME_BROWSER_EXTENSIONS_GLOBAL_SHORTCUT_LISTENER_ATHENA_H_
7
8 #include "chrome/browser/extensions/global_shortcut_listener.h"
9
10 namespace extensions {
11
12 // Athena implementation of GlobalShortcutListener.
13 class GlobalShortcutListenerAthena : public GlobalShortcutListener {
14 public:
15 GlobalShortcutListenerAthena();
16 ~GlobalShortcutListenerAthena() override;
17
18 private:
19 // GlobalShortcutListener:
20 void StartListening() override;
21 void StopListening() override;
22 bool RegisterAcceleratorImpl(const ui::Accelerator& accelerator) override;
23 void UnregisterAcceleratorImpl(const ui::Accelerator& accelerator) override;
24
25 DISALLOW_COPY_AND_ASSIGN(GlobalShortcutListenerAthena);
26 };
27
28 } // namespace extensions
29
30 #endif // CHROME_BROWSER_EXTENSIONS_GLOBAL_SHORTCUT_LISTENER_ATHENA_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/BUILD.gn ('k') | chrome/browser/extensions/global_shortcut_listener_athena.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698