OLD | NEW |
(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_ |
OLD | NEW |