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

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

Issue 2650113004: [WIP] Add support for Android SuggestionSpans when editing text (Closed)
Patch Set: Created 3 years, 11 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_base.h
diff --git a/content/browser/renderer_host/render_widget_host_view_base.h b/content/browser/renderer_host/render_widget_host_view_base.h
index 08aad92bb6ced62ea4092f6b837ce1c84544c27d..9827d02263f5c98cede1dea39dd5912830bf095c 100644
--- a/content/browser/renderer_host/render_widget_host_view_base.h
+++ b/content/browser/renderer_host/render_widget_host_view_base.h
@@ -31,6 +31,7 @@
#include "third_party/WebKit/public/platform/modules/screen_orientation/WebScreenOrientationType.h"
#include "third_party/WebKit/public/web/WebPopupType.h"
#include "third_party/WebKit/public/web/WebTextDirection.h"
+#include "third_party/WebKit/public/web/WebTextSuggestionInfo.h"
#include "third_party/skia/include/core/SkImageInfo.h"
#include "ui/base/ime/text_input_mode.h"
#include "ui/base/ime/text_input_type.h"
@@ -316,6 +317,10 @@ class CONTENT_EXPORT RenderWidgetHostViewBase : public RenderWidgetHostView,
const gfx::Range& range,
const std::vector<gfx::Rect>& character_bounds);
+ // Show drop-down menu for choosing among suggested text replacements.
+ virtual void ShowTextSuggestionMenu(
+ const std::vector<blink::WebTextSuggestionInfo>& suggestionInfos);
+
//----------------------------------------------------------------------------
// The following pure virtual methods are implemented by derived classes.

Powered by Google App Engine
This is Rietveld 408576698