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

Side by Side Diff: components/exo/keyboard.h

Issue 2511973004: components: Cleanup class/struct fwd declarations (Closed)
Patch Set: Rebase on top of current master branch 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 | « components/exo/buffer.h ('k') | components/exo/pointer.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 COMPONENTS_EXO_KEYBOARD_H_ 5 #ifndef COMPONENTS_EXO_KEYBOARD_H_
6 #define COMPONENTS_EXO_KEYBOARD_H_ 6 #define COMPONENTS_EXO_KEYBOARD_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "components/exo/surface_observer.h" 11 #include "components/exo/surface_observer.h"
12 #include "components/exo/wm_helper.h" 12 #include "components/exo/wm_helper.h"
13 #include "ui/aura/client/focus_change_observer.h" 13 #include "ui/aura/client/focus_change_observer.h"
14 #include "ui/events/event_handler.h" 14 #include "ui/events/event_handler.h"
15 15
16 namespace ui { 16 namespace ui {
17 enum class DomCode; 17 enum class DomCode;
18 class Event;
19 class KeyEvent; 18 class KeyEvent;
20 } 19 }
21 20
22 namespace exo { 21 namespace exo {
23 class KeyboardDelegate; 22 class KeyboardDelegate;
24 class Surface; 23 class Surface;
25 24
26 // This class implements a client keyboard that represents one or more keyboard 25 // This class implements a client keyboard that represents one or more keyboard
27 // devices. 26 // devices.
28 class Keyboard : public ui::EventHandler, 27 class Keyboard : public ui::EventHandler,
(...skipping 28 matching lines...) Expand all
57 56
58 // Current set of modifier flags. 57 // Current set of modifier flags.
59 int modifier_flags_ = 0; 58 int modifier_flags_ = 0;
60 59
61 DISALLOW_COPY_AND_ASSIGN(Keyboard); 60 DISALLOW_COPY_AND_ASSIGN(Keyboard);
62 }; 61 };
63 62
64 } // namespace exo 63 } // namespace exo
65 64
66 #endif // COMPONENTS_EXO_KEYBOARD_H_ 65 #endif // COMPONENTS_EXO_KEYBOARD_H_
OLDNEW
« no previous file with comments | « components/exo/buffer.h ('k') | components/exo/pointer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698