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

Unified Diff: mojo/services/prediction/public/interfaces/prediction.mojom

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: mojo/services/prediction/public/interfaces/prediction.mojom
diff --git a/mojo/services/prediction/public/interfaces/prediction.mojom b/mojo/services/prediction/public/interfaces/prediction.mojom
index 109a24a93b214bf5656db4a7b3322db72e71d1da..e0fc3170fd714a98f3db1fd3b4eec90dcb424393 100644
--- a/mojo/services/prediction/public/interfaces/prediction.mojom
+++ b/mojo/services/prediction/public/interfaces/prediction.mojom
@@ -4,19 +4,12 @@
module prediction;
-struct Settings {
- bool correction_enabled;
- bool block_potentially_offensive;
- bool space_aware_gesture_enabled;
-};
-
struct PredictionInfo {
- array<string> previous_words;
- string current_word;
+ array<string> previous_words;
+ array<bool> are_beginning_of_sentence;
APW 2015/07/23 18:02:15 You should make a struct that has a string and boo
riajiang 2015/07/31 02:13:04 Done. I don't think we need that to search for wo
APW 2015/07/31 21:49:15 What do you use the other is_beginning_of_sentence
+ string current_word;
};
interface PredictionService {
- SetSettings(Settings settings);
-
GetPredictionList(PredictionInfo prediction_info) => (array<string>? prediction_list);
};
« no previous file with comments | « DEPS ('k') | services/prediction/BUILD.gn » ('j') | services/prediction/dictionary_service.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698