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

Unified Diff: content/browser/renderer_host/render_widget_host_view_android.h

Issue 2931443003: Add support for Android spellcheck menu in Chrome/WebViews (Closed)
Patch Set: Simplify Mojo binding based on rockot@'s advice Created 3 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: content/browser/renderer_host/render_widget_host_view_android.h
diff --git a/content/browser/renderer_host/render_widget_host_view_android.h b/content/browser/renderer_host/render_widget_host_view_android.h
index a6872cda902103dc86ef15c00de8bc18781cf8d7..58e7f7052f9dc3491a44e36a9ea75c84030ee031 100644
--- a/content/browser/renderer_host/render_widget_host_view_android.h
+++ b/content/browser/renderer_host/render_widget_host_view_android.h
@@ -56,6 +56,7 @@ class RenderWidgetHostImpl;
class SelectionPopupController;
class SynchronousCompositorHost;
class SynchronousCompositorClient;
+class TextSuggestionHostAndroid;
class TouchSelectionControllerClientManagerAndroid;
class WebContentsAccessibilityAndroid;
struct NativeWebKeyboardEvent;
@@ -258,6 +259,10 @@ class CONTENT_EXPORT RenderWidgetHostViewAndroid
void set_selection_popup_controller(SelectionPopupController* controller) {
selection_popup_controller_ = controller;
}
+ void set_text_suggestion_host(
+ TextSuggestionHostAndroid* text_suggestion_host) {
+ text_suggestion_host_ = text_suggestion_host;
+ }
base::WeakPtr<RenderWidgetHostViewAndroid> GetWeakPtrAndroid();
@@ -400,6 +405,7 @@ class CONTENT_EXPORT RenderWidgetHostViewAndroid
ImeAdapterAndroid* ime_adapter_android_;
SelectionPopupController* selection_popup_controller_;
+ TextSuggestionHostAndroid* text_suggestion_host_;
// The background color of the widget.
SkColor background_color_;

Powered by Google App Engine
This is Rietveld 408576698