| Index: services/prediction/input_info.h
|
| diff --git a/services/prediction/input_info.h b/services/prediction/input_info.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..27afd3f73afd1351180cb82272fd1bc851f7230c
|
| --- /dev/null
|
| +++ b/services/prediction/input_info.h
|
| @@ -0,0 +1,37 @@
|
| +// Copyright 2015 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef SERVICES_PREDICTION_INPUT_INFO_H_
|
| +#define SERVICES_PREDICTION_INPUT_INFO_H_
|
| +
|
| +#include "mojo/services/prediction/public/interfaces/prediction.mojom.h"
|
| +
|
| +namespace prediction {
|
| +
|
| +class InputInfo {
|
| + public:
|
| + InputInfo(int input_size);
|
| + ~InputInfo();
|
| +
|
| + int* GetCodepoints();
|
| + int* GetXCoordinates();
|
| + int* GetYCoordinates();
|
| + int* GetPointerIds();
|
| + int* GetTimes();
|
| +
|
| + void ProcessInput(mojo::String& input);
|
| +
|
| + private:
|
| + int size;
|
| + int* codepoints;
|
| + int* x_coordinates;
|
| + int* y_coordinates;
|
| + int* pointer_ids;
|
| + int* times;
|
| +
|
| +}; // class InputInfo
|
| +
|
| +} // namespace prediction
|
| +
|
| +#endif // SERVICES_PREDICTION_INPUT_INFO_H_
|
|
|