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

Unified Diff: services/prediction/prediction_service_impl.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 side-by-side diff with in-line comments
Download patch
Index: services/prediction/prediction_service_impl.h
diff --git a/services/prediction/prediction_service_impl.h b/services/prediction/prediction_service_impl.h
index b0dbdab4d1bd465667b635e7ee2908346c541f03..3da53fc86621d8c9eb3be7921aa933cf5f942fb7 100644
--- a/services/prediction/prediction_service_impl.h
+++ b/services/prediction/prediction_service_impl.h
@@ -7,8 +7,12 @@
#include "mojo/services/prediction/public/interfaces/prediction.mojom.h"
+class ProximityInfoService;
APW 2015/07/23 20:11:28 Its weird that this is outside of the prediction n
riajiang 2015/07/31 02:13:04 Deleted and still compiles :)
+
namespace prediction {
+class TouchPositionCorrection;
+
class PredictionServiceImpl : public PredictionService {
public:
explicit PredictionServiceImpl(
@@ -16,15 +20,16 @@ class PredictionServiceImpl : public PredictionService {
~PredictionServiceImpl() override;
// PredictionService implementation
- void SetSettings(SettingsPtr settings) override;
-
void GetPredictionList(PredictionInfoPtr prediction_info,
const GetPredictionListCallback& callback) override;
private:
- Settings stored_settings_;
mojo::StrongBinding<PredictionService> strong_binding_;
+ TouchPositionCorrection* touch_position_correction;
+ ProximityInfoService* proximity_settings;
+ DictionaryService* dictionary_service;
APW 2015/07/23 20:11:28 These don't need to be pointers - please make them
riajiang 2015/07/31 02:13:04 Done.
+
DISALLOW_COPY_AND_ASSIGN(PredictionServiceImpl);
};

Powered by Google App Engine
This is Rietveld 408576698