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

Side by Side Diff: services/prediction/input_info.h

Issue 1247903003: Add spellcheck and word suggestion to the prediction service (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: format README and CHROMIUM.diff Created 5 years, 4 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/prediction/dictionary_service.cc ('k') | services/prediction/input_info.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef SERVICES_PREDICTION_INPUT_INFO_H_
6 #define SERVICES_PREDICTION_INPUT_INFO_H_
7
8 #include "mojo/services/prediction/public/interfaces/prediction.mojom.h"
9
10 namespace prediction {
11
12 class InputInfo {
13 public:
14 InputInfo(mojo::String& input, int input_size);
15 ~InputInfo();
16
17 int* GetCodepoints();
18 int* GetXCoordinates();
19 int* GetYCoordinates();
20 int* GetPointerIds();
21 int* GetTimes();
22 int GetRealSize();
23
24 private:
25 void ProcessInput(mojo::String& input, int input_size);
26
27 int real_size_;
28 int* codepoints_;
29 int* x_coordinates_;
30 int* y_coordinates_;
31 int* pointer_ids_;
32 int* times_;
33
34 }; // class InputInfo
35
36 } // namespace prediction
37
38 #endif // SERVICES_PREDICTION_INPUT_INFO_H_
OLDNEW
« no previous file with comments | « services/prediction/dictionary_service.cc ('k') | services/prediction/input_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698