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

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: Remove leftover traces 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 eb6097f194f3b2a9bddf9a32dfd4aaf9b9731596..d214029b92d5db134d790e5e91e05e26db973c67 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();
@@ -381,6 +386,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