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 UI_EVENTS_OZONE_LAYOUT_XKB_XKB_KEYBOARD_LAYOUT_ENGINE_H_ | 5 #ifndef UI_EVENTS_OZONE_LAYOUT_XKB_XKB_KEYBOARD_LAYOUT_ENGINE_H_ |
6 #define UI_EVENTS_OZONE_LAYOUT_XKB_XKB_KEYBOARD_LAYOUT_ENGINE_H_ | 6 #define UI_EVENTS_OZONE_LAYOUT_XKB_XKB_KEYBOARD_LAYOUT_ENGINE_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 #include <xkbcommon/xkbcommon.h> | 9 #include <xkbcommon/xkbcommon.h> |
| 10 |
10 #include <vector> | 11 #include <vector> |
11 | 12 |
12 #include "base/containers/hash_tables.h" | 13 #include "base/containers/hash_tables.h" |
| 14 #include "base/memory/free_deleter.h" |
13 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
14 #include "base/memory/scoped_ptr.h" | 16 #include "base/memory/scoped_ptr.h" |
15 #include "base/memory/weak_ptr.h" | 17 #include "base/memory/weak_ptr.h" |
16 #include "base/strings/string16.h" | 18 #include "base/strings/string16.h" |
17 #include "base/task_runner.h" | 19 #include "base/task_runner.h" |
18 #include "ui/events/keycodes/scoped_xkb.h" | 20 #include "ui/events/keycodes/scoped_xkb.h" |
19 #include "ui/events/ozone/layout/events_ozone_layout_export.h" | 21 #include "ui/events/ozone/layout/events_ozone_layout_export.h" |
20 #include "ui/events/ozone/layout/keyboard_layout_engine.h" | 22 #include "ui/events/ozone/layout/keyboard_layout_engine.h" |
21 #include "ui/events/ozone/layout/xkb/xkb_key_code_converter.h" | 23 #include "ui/events/ozone/layout/xkb/xkb_key_code_converter.h" |
22 | 24 |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 | 112 |
111 std::string current_layout_name_; | 113 std::string current_layout_name_; |
112 | 114 |
113 // Support weak pointers for attach & detach callbacks. | 115 // Support weak pointers for attach & detach callbacks. |
114 base::WeakPtrFactory<XkbKeyboardLayoutEngine> weak_ptr_factory_; | 116 base::WeakPtrFactory<XkbKeyboardLayoutEngine> weak_ptr_factory_; |
115 }; | 117 }; |
116 | 118 |
117 } // namespace ui | 119 } // namespace ui |
118 | 120 |
119 #endif // UI_EVENTS_OZONE_LAYOUT_XKB_XKB_KEYBOARD_LAYOUT_ENGINE_H_ | 121 #endif // UI_EVENTS_OZONE_LAYOUT_XKB_XKB_KEYBOARD_LAYOUT_ENGINE_H_ |
OLD | NEW |