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

Unified Diff: chrome/browser/spellchecker/spellcheck_message_filter_platform.h

Issue 1275813002: Implemented typo recognition in Chrome for Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@4_remove_mac_redundancies
Patch Set: Several style changes Created 5 years, 4 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: chrome/browser/spellchecker/spellcheck_message_filter_platform.h
diff --git a/chrome/browser/spellchecker/spellcheck_message_filter_platform.h b/chrome/browser/spellchecker/spellcheck_message_filter_platform.h
index a632112734b42457585b725c12f53d7b976d3a3a..41a8c9c3e0b3e50e14f147751f3c632148159c47 100644
--- a/chrome/browser/spellchecker/spellcheck_message_filter_platform.h
+++ b/chrome/browser/spellchecker/spellcheck_message_filter_platform.h
@@ -11,6 +11,8 @@
#include "chrome/common/spellcheck_result.h"
#include "content/public/browser/browser_message_filter.h"
+class SpellCheckerSessionBridge;
+
// A message filter implementation that receives
// the platform-specific spell checker requests from SpellCheckProvider.
class SpellCheckMessageFilterPlatform : public content::BrowserMessageFilter {
@@ -51,6 +53,11 @@ class SpellCheckMessageFilterPlatform : public content::BrowserMessageFilter {
int render_process_id_;
+#if defined(OS_ANDROID)
+ // Android-specific object used to query the Android spellchecker.
+ scoped_ptr<SpellCheckerSessionBridge> impl_;
+#endif
+
// A JSON-RPC client that calls the Spelling service in the background.
scoped_ptr<SpellingServiceClient> client_;

Powered by Google App Engine
This is Rietveld 408576698