| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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_WEB_STATE_UI_CRW_WEB_CONTROLLER_H_ | 5 #ifndef IOS_WEB_WEB_STATE_UI_CRW_WEB_CONTROLLER_H_ |
| 6 #define IOS_WEB_WEB_STATE_UI_CRW_WEB_CONTROLLER_H_ | 6 #define IOS_WEB_WEB_STATE_UI_CRW_WEB_CONTROLLER_H_ |
| 7 | 7 |
| 8 #import <UIKit/UIKit.h> | 8 #import <UIKit/UIKit.h> |
| 9 | 9 |
| 10 #import "ios/web/net/crw_request_tracker_delegate.h" | 10 #import "ios/web/net/crw_request_tracker_delegate.h" |
| (...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 219 // complete it will be handled internally. | 219 // complete it will be handled internally. |
| 220 - (void)restoreStateFromHistory; | 220 - (void)restoreStateFromHistory; |
| 221 | 221 |
| 222 // Notifies the CRWWebController that it has been shown. | 222 // Notifies the CRWWebController that it has been shown. |
| 223 - (void)wasShown; | 223 - (void)wasShown; |
| 224 | 224 |
| 225 // Notifies the CRWWebController that the current page is an HTTP page | 225 // Notifies the CRWWebController that the current page is an HTTP page |
| 226 // containing a password field. | 226 // containing a password field. |
| 227 - (void)didShowPasswordInputOnHTTP; | 227 - (void)didShowPasswordInputOnHTTP; |
| 228 | 228 |
| 229 // Notifies the CRWWebController that the current page is an HTTP page |
| 230 // containing a credit card field. |
| 231 - (void)didShowCreditCardInputOnHTTP; |
| 232 |
| 229 // Notifies the CRWWebController that it has been hidden. | 233 // Notifies the CRWWebController that it has been hidden. |
| 230 - (void)wasHidden; | 234 - (void)wasHidden; |
| 231 | 235 |
| 232 // Returns |YES| if the current page should show the keyboard shield. | 236 // Returns |YES| if the current page should show the keyboard shield. |
| 233 - (BOOL)wantsKeyboardShield; | 237 - (BOOL)wantsKeyboardShield; |
| 234 | 238 |
| 235 // Returns |YES| if the current page should should the location bar hint text. | 239 // Returns |YES| if the current page should should the location bar hint text. |
| 236 - (BOOL)wantsLocationBarHintText; | 240 - (BOOL)wantsLocationBarHintText; |
| 237 | 241 |
| 238 // Adds |recognizer| as a gesture recognizer to the web view. | 242 // Adds |recognizer| as a gesture recognizer to the web view. |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 299 | 303 |
| 300 // Acts on a single message from the JS object, parsed from JSON into a | 304 // Acts on a single message from the JS object, parsed from JSON into a |
| 301 // DictionaryValue. Returns NO if the format for the message was invalid. | 305 // DictionaryValue. Returns NO if the format for the message was invalid. |
| 302 - (BOOL)respondToMessage:(base::DictionaryValue*)crwMessage | 306 - (BOOL)respondToMessage:(base::DictionaryValue*)crwMessage |
| 303 userIsInteracting:(BOOL)userIsInteracting | 307 userIsInteracting:(BOOL)userIsInteracting |
| 304 originURL:(const GURL&)originURL; | 308 originURL:(const GURL&)originURL; |
| 305 | 309 |
| 306 @end | 310 @end |
| 307 | 311 |
| 308 #endif // IOS_WEB_WEB_STATE_UI_CRW_WEB_CONTROLLER_H_ | 312 #endif // IOS_WEB_WEB_STATE_UI_CRW_WEB_CONTROLLER_H_ |
| OLD | NEW |