OLD | NEW |
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 "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
9 #include "ash/sticky_keys/sticky_keys_state.h" | 9 #include "ash/sticky_keys/sticky_keys_state.h" |
| 10 #include "base/macros.h" |
10 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
11 #include "ui/events/event_constants.h" | 12 #include "ui/events/event_constants.h" |
12 #include "ui/events/event_handler.h" | 13 #include "ui/events/event_handler.h" |
13 #include "ui/events/event_rewriter.h" | 14 #include "ui/events/event_rewriter.h" |
14 #include "ui/events/keycodes/keyboard_codes.h" | 15 #include "ui/events/keycodes/keyboard_codes.h" |
15 | 16 |
16 namespace ui { | 17 namespace ui { |
17 class Event; | 18 class Event; |
18 class KeyEvent; | 19 class KeyEvent; |
19 class MouseEvent; | 20 class MouseEvent; |
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
271 | 272 |
272 // The modifier up key event to be sent on non modifier key on ENABLED state. | 273 // The modifier up key event to be sent on non modifier key on ENABLED state. |
273 scoped_ptr<ui::KeyEvent> modifier_up_event_; | 274 scoped_ptr<ui::KeyEvent> modifier_up_event_; |
274 | 275 |
275 DISALLOW_COPY_AND_ASSIGN(StickyKeysHandler); | 276 DISALLOW_COPY_AND_ASSIGN(StickyKeysHandler); |
276 }; | 277 }; |
277 | 278 |
278 } // namespace ash | 279 } // namespace ash |
279 | 280 |
280 #endif // ASH_STICKY_KEYS_STICKY_KEYS_CONTROLLER_H_ | 281 #endif // ASH_STICKY_KEYS_STICKY_KEYS_CONTROLLER_H_ |
OLD | NEW |