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. |