OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 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 CHROME_BROWSER_CHROMEOS_EVENTS_EVENT_REWRITER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_EVENTS_EVENT_REWRITER_H_ |
6 #define CHROME_BROWSER_CHROMEOS_EVENTS_EVENT_REWRITER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_EVENTS_EVENT_REWRITER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
11 | 11 |
12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
13 #include "base/containers/hash_tables.h" | 13 #include "base/containers/hash_tables.h" |
| 14 #include "base/macros.h" |
14 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
15 #include "ui/events/event.h" | 16 #include "ui/events/event.h" |
16 #include "ui/events/event_rewriter.h" | 17 #include "ui/events/event_rewriter.h" |
17 #include "ui/events/keycodes/dom/dom_key.h" | 18 #include "ui/events/keycodes/dom/dom_key.h" |
18 | 19 |
19 class PrefService; | 20 class PrefService; |
20 | 21 |
21 namespace ash { | 22 namespace ash { |
22 class StickyKeysController; | 23 class StickyKeysController; |
23 } | 24 } |
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
198 int pressed_modifier_latches_; | 199 int pressed_modifier_latches_; |
199 int latched_modifier_latches_; | 200 int latched_modifier_latches_; |
200 int used_modifier_latches_; | 201 int used_modifier_latches_; |
201 | 202 |
202 DISALLOW_COPY_AND_ASSIGN(EventRewriter); | 203 DISALLOW_COPY_AND_ASSIGN(EventRewriter); |
203 }; | 204 }; |
204 | 205 |
205 } // namespace chromeos | 206 } // namespace chromeos |
206 | 207 |
207 #endif // CHROME_BROWSER_CHROMEOS_EVENTS_EVENT_REWRITER_H_ | 208 #endif // CHROME_BROWSER_CHROMEOS_EVENTS_EVENT_REWRITER_H_ |
OLD | NEW |