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

Unified Diff: third_party/WebKit/Source/web/ChromeClientImpl.cpp

Issue 2315223003: Move didUpdateTextOfFocusedElementByNonUserInput from WebViewClient to WebWidgetClient. (Closed)
Patch Set: Created 4 years, 3 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: third_party/WebKit/Source/web/ChromeClientImpl.cpp
diff --git a/third_party/WebKit/Source/web/ChromeClientImpl.cpp b/third_party/WebKit/Source/web/ChromeClientImpl.cpp
index 77ac1c19124dbe6e4332e0726b48b2780d16fffd..ea2f3a29ded909edfb9c8320a0ae9a041beec0ea 100644
--- a/third_party/WebKit/Source/web/ChromeClientImpl.cpp
+++ b/third_party/WebKit/Source/web/ChromeClientImpl.cpp
@@ -986,10 +986,10 @@ void ChromeClientImpl::willSetInputMethodState()
m_webView->client()->resetInputMethod();
}
-void ChromeClientImpl::didUpdateTextOfFocusedElementByNonUserInput()
+void ChromeClientImpl::didUpdateTextOfFocusedElementByNonUserInput(LocalFrame& frame)
{
- if (m_webView->client())
- m_webView->client()->didUpdateTextOfFocusedElementByNonUserInput();
+ WebLocalFrameImpl* webFrame = WebLocalFrameImpl::fromFrame(frame.localFrameRoot());
+ webFrame->frameWidget()->client()->didUpdateTextOfFocusedElementByNonUserInput();
}
void ChromeClientImpl::showImeIfNeeded()
« no previous file with comments | « third_party/WebKit/Source/web/ChromeClientImpl.h ('k') | third_party/WebKit/Source/web/tests/WebViewTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698