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

Side by Side Diff: ash/accelerators/accelerator_controller.h

Issue 2168733002: Splits debug_commands into aura and non-aura parts (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: moar Created 4 years, 5 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ASH_ACCELERATORS_ACCELERATOR_CONTROLLER_H_ 5 #ifndef ASH_ACCELERATORS_ACCELERATOR_CONTROLLER_H_
6 #define ASH_ACCELERATORS_ACCELERATOR_CONTROLLER_H_ 6 #define ASH_ACCELERATORS_ACCELERATOR_CONTROLLER_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 12 matching lines...) Expand all
23 namespace ui { 23 namespace ui {
24 class AcceleratorManager; 24 class AcceleratorManager;
25 } 25 }
26 26
27 namespace ash { 27 namespace ash {
28 28
29 struct AcceleratorData; 29 struct AcceleratorData;
30 class AcceleratorControllerDelegate; 30 class AcceleratorControllerDelegate;
31 class ExitWarningHandler; 31 class ExitWarningHandler;
32 class ImeControlDelegate; 32 class ImeControlDelegate;
33 class VolumeControlDelegate;
34 33
35 // AcceleratorController provides functions for registering or unregistering 34 // AcceleratorController provides functions for registering or unregistering
36 // global keyboard accelerators, which are handled earlier than any windows. It 35 // global keyboard accelerators, which are handled earlier than any windows. It
37 // also implements several handlers as an accelerator target. 36 // also implements several handlers as an accelerator target.
38 class ASH_EXPORT AcceleratorController : public ui::AcceleratorTarget { 37 class ASH_EXPORT AcceleratorController : public ui::AcceleratorTarget {
39 public: 38 public:
40 explicit AcceleratorController(AcceleratorControllerDelegate* delegate); 39 explicit AcceleratorController(AcceleratorControllerDelegate* delegate);
41 ~AcceleratorController() override; 40 ~AcceleratorController() override;
42 41
43 // A list of possible ways in which an accelerator should be restricted before 42 // A list of possible ways in which an accelerator should be restricted before
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 std::set<int> actions_needing_window_; 194 std::set<int> actions_needing_window_;
196 // Actions that can be performed without closing the menu (if one is present). 195 // Actions that can be performed without closing the menu (if one is present).
197 std::set<int> actions_keeping_menu_open_; 196 std::set<int> actions_keeping_menu_open_;
198 197
199 DISALLOW_COPY_AND_ASSIGN(AcceleratorController); 198 DISALLOW_COPY_AND_ASSIGN(AcceleratorController);
200 }; 199 };
201 200
202 } // namespace ash 201 } // namespace ash
203 202
204 #endif // ASH_ACCELERATORS_ACCELERATOR_CONTROLLER_H_ 203 #endif // ASH_ACCELERATORS_ACCELERATOR_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698