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

Side by Side Diff: athena/screen/screen_accelerator_handler.h

Issue 322503005: Athena's FocusManager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « athena/screen/background_controller.cc ('k') | athena/screen/screen_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
5 #include "athena/input/public/accelerator_manager.h"
6
7 #include "base/macros.h"
8
9 namespace aura {
10 class Window;
11 }
12
13 namespace athena {
14
15 // Handles screen related accelerators.
16 class ScreenAcceleratorHandler : public AcceleratorHandler {
17 public:
18 explicit ScreenAcceleratorHandler(aura::Window* root_window);
19
20 private:
21 virtual ~ScreenAcceleratorHandler();
22
23 // AcceleratorHandler:
24 virtual bool IsCommandEnabled(int command_id) const OVERRIDE;
25 virtual bool OnAcceleratorFired(int command_id,
26 const ui::Accelerator& accelerator) OVERRIDE;
27
28 aura::Window* root_window_;
29
30 DISALLOW_COPY_AND_ASSIGN(ScreenAcceleratorHandler);
31 };
32
33 } // namespace athena
OLDNEW
« no previous file with comments | « athena/screen/background_controller.cc ('k') | athena/screen/screen_accelerator_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698