OLD | NEW |
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 SERVICES_KEYBOARD_NATIVE_KEY_LAYOUT_H_ | 5 #ifndef SERVICES_KEYBOARD_NATIVE_KEY_LAYOUT_H_ |
6 #define SERVICES_KEYBOARD_NATIVE_KEY_LAYOUT_H_ | 6 #define SERVICES_KEYBOARD_NATIVE_KEY_LAYOUT_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/callback.h" | 11 #include "base/callback.h" |
12 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
13 #include "mojo/services/geometry/public/interfaces/geometry.mojom.h" | 13 #include "mojo/services/geometry/interfaces/geometry.mojom.h" |
14 #include "ui/gfx/geometry/rect_f.h" | 14 #include "ui/gfx/geometry/rect_f.h" |
15 | 15 |
16 class SkCanvas; | 16 class SkCanvas; |
17 class SkPaint; | 17 class SkPaint; |
18 | 18 |
19 namespace gfx { | 19 namespace gfx { |
20 class PointF; | 20 class PointF; |
21 } | 21 } |
22 | 22 |
23 namespace keyboard { | 23 namespace keyboard { |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 std::vector<std::vector<Key*>> symbols_key_map_; | 117 std::vector<std::vector<Key*>> symbols_key_map_; |
118 Predictor* predictor_; | 118 Predictor* predictor_; |
119 base::WeakPtrFactory<KeyLayout> weak_factory_; | 119 base::WeakPtrFactory<KeyLayout> weak_factory_; |
120 | 120 |
121 DISALLOW_COPY_AND_ASSIGN(KeyLayout); | 121 DISALLOW_COPY_AND_ASSIGN(KeyLayout); |
122 }; | 122 }; |
123 | 123 |
124 } // namespace keyboard | 124 } // namespace keyboard |
125 | 125 |
126 #endif // SERVICES_KEYBOARD_NATIVE_KEY_LAYOUT_H_ | 126 #endif // SERVICES_KEYBOARD_NATIVE_KEY_LAYOUT_H_ |
OLD | NEW |