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

Side by Side Diff: ash/sticky_keys/sticky_keys_controller.h

Issue 2526333002: ash: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase Created 4 years 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 | « ash/shell/panel_window.h ('k') | ash/system/chromeos/rotation/tray_rotation_lock.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 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 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_STICKY_KEYS_STICKY_KEYS_CONTROLLER_H_ 5 #ifndef ASH_STICKY_KEYS_STICKY_KEYS_CONTROLLER_H_
6 #define ASH_STICKY_KEYS_STICKY_KEYS_CONTROLLER_H_ 6 #define ASH_STICKY_KEYS_STICKY_KEYS_CONTROLLER_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "ash/ash_export.h" 10 #include "ash/ash_export.h"
11 #include "ash/sticky_keys/sticky_keys_state.h" 11 #include "ash/sticky_keys/sticky_keys_state.h"
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "ui/events/event_constants.h" 13 #include "ui/events/event_constants.h"
14 #include "ui/events/event_handler.h" 14 #include "ui/events/event_handler.h"
15 #include "ui/events/event_rewriter.h" 15 #include "ui/events/event_rewriter.h"
16 #include "ui/events/keycodes/keyboard_codes.h" 16 #include "ui/events/keycodes/keyboard_codes.h"
17 17
18 namespace ui { 18 namespace ui {
19 class Event; 19 class Event;
20 class KeyEvent; 20 class KeyEvent;
21 class MouseEvent; 21 class MouseEvent;
22 } // namespace ui 22 } // namespace ui
23 23
24 namespace aura {
25 class Window;
26 } // namespace aura
27
28 namespace ash { 24 namespace ash {
29 25
30 class StickyKeysOverlay; 26 class StickyKeysOverlay;
31 class StickyKeysHandler; 27 class StickyKeysHandler;
32 28
33 // StickyKeysController is an accessibility feature for users to be able to 29 // StickyKeysController is an accessibility feature for users to be able to
34 // compose key and mouse event with modifier keys without simultaneous key 30 // compose key and mouse event with modifier keys without simultaneous key
35 // press event. Instead they can compose events separately pressing each of the 31 // press event. Instead they can compose events separately pressing each of the
36 // modifier keys involved. 32 // modifier keys involved.
37 // e.g. Composing Ctrl + T 33 // e.g. Composing Ctrl + T
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 270
275 // The modifier up key event to be sent on non modifier key on ENABLED state. 271 // The modifier up key event to be sent on non modifier key on ENABLED state.
276 std::unique_ptr<ui::KeyEvent> modifier_up_event_; 272 std::unique_ptr<ui::KeyEvent> modifier_up_event_;
277 273
278 DISALLOW_COPY_AND_ASSIGN(StickyKeysHandler); 274 DISALLOW_COPY_AND_ASSIGN(StickyKeysHandler);
279 }; 275 };
280 276
281 } // namespace ash 277 } // namespace ash
282 278
283 #endif // ASH_STICKY_KEYS_STICKY_KEYS_CONTROLLER_H_ 279 #endif // ASH_STICKY_KEYS_STICKY_KEYS_CONTROLLER_H_
OLDNEW
« no previous file with comments | « ash/shell/panel_window.h ('k') | ash/system/chromeos/rotation/tray_rotation_lock.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698