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

Unified Diff: ios/web/web_state/crw_web_view_proxy_impl.mm

Issue 1646573002: WebViewProxy now propagates first responder status to the webview. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
« no previous file with comments | « ios/web/public/web_state/crw_web_view_proxy.h ('k') | ios/web/web_state/ui/crw_web_view_content_view.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/web_state/crw_web_view_proxy_impl.mm
diff --git a/ios/web/web_state/crw_web_view_proxy_impl.mm b/ios/web/web_state/crw_web_view_proxy_impl.mm
index 6c7b2a0e37dcb9eabf4b1ada64bfc401da258bee..47f03375fd364564d2907910a0ea8e06134a4261 100644
--- a/ios/web/web_state/crw_web_view_proxy_impl.mm
+++ b/ios/web/web_state/crw_web_view_proxy_impl.mm
@@ -174,4 +174,8 @@ UIView* GetFirstResponderSubview(UIView* view) {
setKeyboardDisplayRequiresUserAction:keyboardDisplayRequiresUserAction];
}
+- (BOOL)becomeFirstResponder {
+ return [_contentView becomeFirstResponder];
+}
+
@end
« no previous file with comments | « ios/web/public/web_state/crw_web_view_proxy.h ('k') | ios/web/web_state/ui/crw_web_view_content_view.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698