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_PREDICTION_PROXIMITY_INFO_FACTORY_H_ | 5 #ifndef SERVICES_PREDICTION_PROXIMITY_INFO_FACTORY_H_ |
6 #define SERVICES_PREDICTION_PROXIMITY_INFO_FACTORY_H_ | 6 #define SERVICES_PREDICTION_PROXIMITY_INFO_FACTORY_H_ |
7 | 7 |
8 #include "mojo/services/prediction/public/interfaces/prediction.mojom.h" | 8 #include "mojo/services/prediction/interfaces/prediction.mojom.h" |
9 #include "services/prediction/key_set.h" | 9 #include "services/prediction/key_set.h" |
10 #include "third_party/android_prediction/suggest/core/layout/proximity_info.h" | 10 #include "third_party/android_prediction/suggest/core/layout/proximity_info.h" |
11 | 11 |
12 // NOTE: This class has been translated to C++ and modified from the Android | 12 // NOTE: This class has been translated to C++ and modified from the Android |
13 // Open Source Project. Specifically from some functions of the following file: | 13 // Open Source Project. Specifically from some functions of the following file: |
14 // https://android.googlesource.com/platform/packages/inputmethods/LatinIME/+/ | 14 // https://android.googlesource.com/platform/packages/inputmethods/LatinIME/+/ |
15 // android-5.1.1_r8/java/src/com/android/inputmethod/keyboard/ProximityInfo.java | 15 // android-5.1.1_r8/java/src/com/android/inputmethod/keyboard/ProximityInfo.java |
16 | 16 |
17 namespace prediction { | 17 namespace prediction { |
18 | 18 |
(...skipping 19 matching lines...) Expand all Loading... |
38 int pkeyboard_min_width_; | 38 int pkeyboard_min_width_; |
39 int pkeyboard_height_; | 39 int pkeyboard_height_; |
40 int pmost_common_key_width_; | 40 int pmost_common_key_width_; |
41 int pmost_common_key_height_; | 41 int pmost_common_key_height_; |
42 std::string plocale_; | 42 std::string plocale_; |
43 }; // class ProximityInfoFactory | 43 }; // class ProximityInfoFactory |
44 | 44 |
45 } // namespace prediction | 45 } // namespace prediction |
46 | 46 |
47 #endif // SERVICES_PREDICTION_PROXIMITY_INFO_FACTORY_H_ | 47 #endif // SERVICES_PREDICTION_PROXIMITY_INFO_FACTORY_H_ |
OLD | NEW |