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

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: Created 5 years, 5 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
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(int input_size);
15 ~InputInfo();
16
17 int* GetCodepoints();
18 int* GetXCoordinates();
19 int* GetYCoordinates();
20 int* GetPointerIds();
21 int* GetTimes();
22
23 void ProcessInput(mojo::String& input);
24
25 private:
26 int size;
27 int* codepoints;
28 int* x_coordinates;
29 int* y_coordinates;
30 int* pointer_ids;
31 int* times;
32
33 }; // class InputInfo
34
35 } // namespace prediction
36
37 #endif // SERVICES_PREDICTION_INPUT_INFO_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698