| 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..183211b30279e5bf4fab3590079b38cfdb45ba3e
|
| --- /dev/null
|
| +++ b/services/prediction/input_info.h
|
| @@ -0,0 +1,38 @@
|
| +// 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();
|
| + ~InputInfo();
|
| +
|
| + int* GetCodepoints();
|
| + int* GetXCoordinates();
|
| + int* GetYCoordinates();
|
| + int* GetPointerIds();
|
| + int* GetTimes();
|
| + int GetRealSize();
|
| +
|
| + void ProcessInput(mojo::String& input);
|
| +
|
| + private:
|
| + int real_size_;
|
| + int* codepoints_;
|
| + int* x_coordinates_;
|
| + int* y_coordinates_;
|
| + int* pointer_ids_;
|
| + int* times_;
|
| +
|
| +}; // class InputInfo
|
| +
|
| +} // namespace prediction
|
| +
|
| +#endif // SERVICES_PREDICTION_INPUT_INFO_H_
|
|
|