Chromium Code Reviews| Index: content/browser/renderer_host/render_widget_host_delegate.h |
| diff --git a/content/browser/renderer_host/render_widget_host_delegate.h b/content/browser/renderer_host/render_widget_host_delegate.h |
| index 2f3a2b37023ed95cd7ad8f894bbefef6d064fd76..d20e65464d457ade563410d4c43c8b50d05f4365 100644 |
| --- a/content/browser/renderer_host/render_widget_host_delegate.h |
| +++ b/content/browser/renderer_host/render_widget_host_delegate.h |
| @@ -13,6 +13,7 @@ |
| #include "content/common/content_export.h" |
| #include "third_party/WebKit/public/platform/WebDisplayMode.h" |
| #include "third_party/WebKit/public/web/WebInputEvent.h" |
| +#include "ui/base/ime/text_input_type.h" |
| #include "ui/gfx/native_widget_types.h" |
| namespace blink { |
| @@ -216,6 +217,13 @@ class CONTENT_EXPORT RenderWidgetHostDelegate { |
| // Returns the TextInputManager tracking text input state. |
| virtual TextInputManager* GetTextInputManager(); |
| + // Notifies a change in the text input state. |
|
Charlie Reis
2016/10/05 21:19:33
nit: Notifies about a
|
| + virtual void OnUpdateTextInputState(RenderWidgetHostImpl* render_widget_host, |
| + ui::TextInputType type, |
| + const std::string& text, |
| + const std::string& placeholder, |
| + bool show_ime_if_needed) {} |
| + |
| // Returns true if this RenderWidgetHost should remain hidden. This is used by |
| // the RenderWidgetHost to ask the delegate if it can be shown in the event of |
| // something other than the WebContents attempting to enable visibility of |