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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #import "ios/web/web_state/crw_web_view_proxy_impl.h" 5 #import "ios/web/web_state/crw_web_view_proxy_impl.h"
6 6
7 #include "base/ios/ios_util.h" 7 #include "base/ios/ios_util.h"
8 #include "base/ios/weak_nsobject.h" 8 #include "base/ios/weak_nsobject.h"
9 #include "base/mac/scoped_nsobject.h" 9 #include "base/mac/scoped_nsobject.h"
10 #import "ios/web/public/web_state/crw_web_view_scroll_view_proxy.h" 10 #import "ios/web/public/web_state/crw_web_view_scroll_view_proxy.h"
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 - (BOOL)keyboardDisplayRequiresUserAction { 167 - (BOOL)keyboardDisplayRequiresUserAction {
168 return [_webController keyboardDisplayRequiresUserAction]; 168 return [_webController keyboardDisplayRequiresUserAction];
169 } 169 }
170 170
171 - (void)setKeyboardDisplayRequiresUserAction: 171 - (void)setKeyboardDisplayRequiresUserAction:
172 (BOOL)keyboardDisplayRequiresUserAction { 172 (BOOL)keyboardDisplayRequiresUserAction {
173 [_webController 173 [_webController
174 setKeyboardDisplayRequiresUserAction:keyboardDisplayRequiresUserAction]; 174 setKeyboardDisplayRequiresUserAction:keyboardDisplayRequiresUserAction];
175 } 175 }
176 176
177 - (BOOL)becomeFirstResponder {
178 return [_contentView becomeFirstResponder];
179 }
180
177 @end 181 @end
OLDNEW
« 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