Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(545)

Side by Side Diff: services/keyboard_native/predictor.h

Issue 1394303004: Move //mojo/services/X/public/... to //mojo/services/X/... (part 3). (Closed) Base URL: https://github.com/domokit/mojo.git@no_public_2-x-no_public_1
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « services/keyboard_native/BUILD.gn ('k') | services/keyboard_native/view_observer_delegate.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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"
11 #include "mojo/public/cpp/application/connect.h" 11 #include "mojo/public/cpp/application/connect.h"
12 #include "mojo/public/interfaces/application/shell.mojom.h" 12 #include "mojo/public/interfaces/application/shell.mojom.h"
13 #include "mojo/services/prediction/public/interfaces/prediction.mojom.h" 13 #include "mojo/services/prediction/interfaces/prediction.mojom.h"
14 #include "services/keyboard_native/key_layout.h" 14 #include "services/keyboard_native/key_layout.h"
15 15
16 namespace keyboard { 16 namespace keyboard {
17 17
18 class Predictor { 18 class Predictor {
19 public: 19 public:
20 Predictor(mojo::Shell* shell); 20 Predictor(mojo::Shell* shell);
21 ~Predictor(); 21 ~Predictor();
22 22
23 void SetSuggestionKeys(std::vector<KeyLayout::Key*> suggestion_keys); 23 void SetSuggestionKeys(std::vector<KeyLayout::Key*> suggestion_keys);
(...skipping 18 matching lines...) Expand all
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_
OLDNEW
« no previous file with comments | « services/keyboard_native/BUILD.gn ('k') | services/keyboard_native/view_observer_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698