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 #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 implementation. |
| 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_ |
OLD | NEW |