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

Side by Side Diff: athena/main/debug_accelerator_handler.h

Issue 863033002: Delete athena/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 months 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
« no previous file with comments | « athena/main/athena_views_delegate.cc ('k') | athena/main/debug_accelerator_handler.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef ATHENA_MAIN_DEBUG_ACCELERATOR_HANDLER_H_
5 #define ATHENA_MAIN_DEBUG_ACCELERATOR_HANDLER_H_
6
7 #include "athena/input/public/accelerator_manager.h"
8
9 #include "base/macros.h"
10
11 namespace aura {
12 class Window;
13 }
14
15 namespace athena {
16
17 // Handles accelerators useful for debugging.
18 class DebugAcceleratorHandler : public AcceleratorHandler {
19 public:
20 explicit DebugAcceleratorHandler(aura::Window* root_window);
21 ~DebugAcceleratorHandler() override;
22
23 // AcceleratorHandler:
24 bool IsCommandEnabled(int command_id) const override;
25 bool OnAcceleratorFired(int command_id,
26 const ui::Accelerator& accelerator) override;
27
28 private:
29 aura::Window* root_window_;
30
31 DISALLOW_COPY_AND_ASSIGN(DebugAcceleratorHandler);
32 };
33
34 } // namespace athena
35
36 #endif // ATHENA_MAIN_DEBUG_ACCELERATOR_HANDLER_H_
OLDNEW
« no previous file with comments | « athena/main/athena_views_delegate.cc ('k') | athena/main/debug_accelerator_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698