| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |