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 #ifndef IOS_WEB_PUBLIC_WEB_STATE_CRW_WEB_VIEW_PROXY_H_ | 5 #ifndef IOS_WEB_PUBLIC_WEB_STATE_CRW_WEB_VIEW_PROXY_H_ |
6 #define IOS_WEB_PUBLIC_WEB_STATE_CRW_WEB_VIEW_PROXY_H_ | 6 #define IOS_WEB_PUBLIC_WEB_STATE_CRW_WEB_VIEW_PROXY_H_ |
7 | 7 |
8 #import <UIKit/UIKit.h> | 8 #import <UIKit/UIKit.h> |
9 | 9 |
10 #include "ios/web/public/web_view_type.h" | 10 #include "ios/web/public/web_view_type.h" |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 | 59 |
60 // Returns the currently visible keyboard accessory, or nil. | 60 // Returns the currently visible keyboard accessory, or nil. |
61 - (UIView*)keyboardAccessory; | 61 - (UIView*)keyboardAccessory; |
62 | 62 |
63 // Returns the currently visible keyboard input assistant item, or nil. Only | 63 // Returns the currently visible keyboard input assistant item, or nil. Only |
64 // valid on iOS 9 or above. | 64 // valid on iOS 9 or above. |
65 #if defined(__IPHONE_9_0) && __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_9_0 | 65 #if defined(__IPHONE_9_0) && __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_9_0 |
66 - (UITextInputAssistantItem*)inputAssistantItem; | 66 - (UITextInputAssistantItem*)inputAssistantItem; |
67 #endif | 67 #endif |
68 | 68 |
| 69 // Wrapper around the becomeFirstResponder method of the webview. |
| 70 - (BOOL)becomeFirstResponder; |
| 71 |
69 @end | 72 @end |
70 | 73 |
71 #endif // IOS_WEB_PUBLIC_WEB_STATE_CRW_WEB_VIEW_PROXY_H_ | 74 #endif // IOS_WEB_PUBLIC_WEB_STATE_CRW_WEB_VIEW_PROXY_H_ |
OLD | NEW |