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

Unified Diff: content/browser/web_contents/web_contents_impl.cc

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/web_contents/web_contents_impl.cc
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
index 21ca407b9e5bebb5128702dd2890e1842d230244..0e080f64d9411ac0fd3d987dcd3e26c1c7824424 100644
--- a/content/browser/web_contents/web_contents_impl.cc
+++ b/content/browser/web_contents/web_contents_impl.cc
@@ -2476,6 +2476,17 @@ TextInputManager* WebContentsImpl::GetTextInputManager() {
return text_input_manager_.get();
}
+void WebContentsImpl::OnUpdateTextInputState(
+ RenderWidgetHostImpl* render_widget_host,
+ ui::TextInputType type,
+ const std::string& text,
+ const std::string& placeholder,
+ bool show_ime_if_needed) {
+ if (delegate_)
nyquist 2016/10/05 04:20:56 Nit: if (!delegate_) return; [empty line] delega
+ delegate_->OnUpdateTextInputState(render_widget_host, type, text,
+ placeholder, show_ime_if_needed);
+}
+
BrowserAccessibilityManager*
WebContentsImpl::GetRootBrowserAccessibilityManager() {
RenderFrameHostImpl* rfh = GetMainFrame();

Powered by Google App Engine
This is Rietveld 408576698