| 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_KEY_SET_H_ | 5 #ifndef SERVICES_PREDICTION_KEY_SET_H_ |
| 6 #define SERVICES_PREDICTION_KEY_SET_H_ | 6 #define SERVICES_PREDICTION_KEY_SET_H_ |
| 7 | 7 |
| 8 #include "mojo/services/prediction/public/interfaces/prediction.mojom.h" | 8 #include "mojo/services/prediction/interfaces/prediction.mojom.h" |
| 9 | 9 |
| 10 // qwerty keyboard key sets | 10 // qwerty keyboard key sets |
| 11 | 11 |
| 12 namespace prediction { | 12 namespace prediction { |
| 13 | 13 |
| 14 // NOTE: This struct has been modified from the Android Open | 14 // NOTE: This struct has been modified from the Android Open |
| 15 // Source Project. Specifically from the following file: | 15 // Source Project. Specifically from the following file: |
| 16 // https://android.googlesource.com/platform/packages/inputmethods/LatinIME/+/ | 16 // https://android.googlesource.com/platform/packages/inputmethods/LatinIME/+/ |
| 17 // android-5.1.1_r8/java/src/com/android/inputmethod/keyboard/Key.java | 17 // android-5.1.1_r8/java/src/com/android/inputmethod/keyboard/Key.java |
| 18 struct Key { | 18 struct Key { |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 | 83 |
| 84 const Key key_set[] = {Q, W, E, R, T, Y, U, I, O, P, A, S, D, | 84 const Key key_set[] = {Q, W, E, R, T, Y, U, I, O, P, A, S, D, |
| 85 F, G, H, J, K, L, Z, X, C, V, B, N, M}; | 85 F, G, H, J, K, L, Z, X, C, V, B, N, M}; |
| 86 | 86 |
| 87 const int key_count = 26; | 87 const int key_count = 26; |
| 88 | 88 |
| 89 } // namespace keyset | 89 } // namespace keyset |
| 90 } // namespace prediction | 90 } // namespace prediction |
| 91 | 91 |
| 92 #endif // SERVICES_PREDICTION_KEY_SET_H_ | 92 #endif // SERVICES_PREDICTION_KEY_SET_H_ |
| OLD | NEW |