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_PREDICTOR_H_ | 5 #ifndef SERVICES_KEYBOARD_NATIVE_PREDICTOR_H_ |
6 #define SERVICES_KEYBOARD_NATIVE_PREDICTOR_H_ | 6 #define SERVICES_KEYBOARD_NATIVE_PREDICTOR_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
(...skipping 30 matching lines...) Expand all Loading... |
41 std::vector<KeyLayout::Key*> suggestion_keys_; | 41 std::vector<KeyLayout::Key*> suggestion_keys_; |
42 std::string current_word_; | 42 std::string current_word_; |
43 std::vector<std::string> previous_words_; | 43 std::vector<std::string> previous_words_; |
44 base::Callback<void()> on_update_callback_; | 44 base::Callback<void()> on_update_callback_; |
45 | 45 |
46 DISALLOW_COPY_AND_ASSIGN(Predictor); | 46 DISALLOW_COPY_AND_ASSIGN(Predictor); |
47 }; | 47 }; |
48 | 48 |
49 } // namespace keyboard | 49 } // namespace keyboard |
50 | 50 |
51 #endif // SERVICES_KEYBOARD_NATIVE_PREDICTOR_H_ | 51 #endif // SERVICES_KEYBOARD_NATIVE_PREDICTOR_H_ |
OLD | NEW |