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

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

Issue 2370393002: Extracting placeholder information from Webkit to Blimp (Closed)
Patch Set: Observing InputMethod Created 4 years, 2 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_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

Powered by Google App Engine
This is Rietveld 408576698