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

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: Consolidate mContentView and mContainerView 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 b0321f943d0302e221b1e72ae0dad15c2e2fe682..5281edb160137c573f111d2b5c70bc358230cc9f 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;
@@ -260,6 +261,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();
@@ -394,6 +399,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