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

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

Issue 2709813007: Remove WebViewClient::showVirtualKeyboardOnElementFocus() (Closed)
Patch Set: Addressing dcheng@'s comments Created 3 years, 9 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 bd57f5d03625a57af772bcd7e22139d2596b4fe1..4628e466fea7547f40042ecfca92a483232aa406 100644
--- a/third_party/WebKit/Source/web/ChromeClientImpl.cpp
+++ b/third_party/WebKit/Source/web/ChromeClientImpl.cpp
@@ -1069,9 +1069,11 @@ void ChromeClientImpl::didAssociateFormControlsAfterLoad(LocalFrame* frame) {
webframe->autofillClient()->didAssociateFormControlsDynamically();
}
-void ChromeClientImpl::showVirtualKeyboardOnElementFocus() {
- if (m_webView->client())
- m_webView->client()->showVirtualKeyboardOnElementFocus();
+void ChromeClientImpl::showVirtualKeyboardOnElementFocus(LocalFrame& frame) {
+ WebLocalFrameImpl::fromFrame(frame.localFrameRoot())
+ ->frameWidget()
+ ->client()
+ ->showVirtualKeyboardOnElementFocus();
}
void ChromeClientImpl::showUnhandledTapUIIfNeeded(
« no previous file with comments | « third_party/WebKit/Source/web/ChromeClientImpl.h ('k') | third_party/WebKit/Source/web/tests/ImeOnFocusTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698