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

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: Respond to aelias@'s comments Created 3 years, 6 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 295c9dae0a3ef2ea85fa92a3731067f748195478..7ae2638e3189c333030e624b2470ecf650bd17fc 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 WebContentsAccessibilityAndroid;
struct NativeWebKeyboardEvent;
struct ContextMenuParams;
@@ -252,6 +253,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();
@@ -377,6 +382,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