| 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 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 218 // from the current page into the current session entry. | 218 // from the current page into the current session entry. |
| 219 - (void)recordStateInHistory; | 219 - (void)recordStateInHistory; |
| 220 // Restores the state for this page from session history. | 220 // Restores the state for this page from session history. |
| 221 // TODO(stuartmorgan): This is public only temporarily; once refactoring is | 221 // TODO(stuartmorgan): This is public only temporarily; once refactoring is |
| 222 // complete it will be handled internally. | 222 // complete it will be handled internally. |
| 223 - (void)restoreStateFromHistory; | 223 - (void)restoreStateFromHistory; |
| 224 | 224 |
| 225 // Notifies the CRWWebController that it has been shown. | 225 // Notifies the CRWWebController that it has been shown. |
| 226 - (void)wasShown; | 226 - (void)wasShown; |
| 227 | 227 |
| 228 // Notifies the CRWWebController that the current page is an HTTP page |
| 229 // containing a password field. |
| 230 - (void)didShowPasswordInputOnHTTP; |
| 231 |
| 228 // Notifies the CRWWebController that it has been hidden. | 232 // Notifies the CRWWebController that it has been hidden. |
| 229 - (void)wasHidden; | 233 - (void)wasHidden; |
| 230 | 234 |
| 231 // Returns |YES| if the current page should show the keyboard shield. | 235 // Returns |YES| if the current page should show the keyboard shield. |
| 232 - (BOOL)wantsKeyboardShield; | 236 - (BOOL)wantsKeyboardShield; |
| 233 | 237 |
| 234 // Returns |YES| if the current page should should the location bar hint text. | 238 // Returns |YES| if the current page should should the location bar hint text. |
| 235 - (BOOL)wantsLocationBarHintText; | 239 - (BOOL)wantsLocationBarHintText; |
| 236 | 240 |
| 237 // Adds |recognizer| as a gesture recognizer to the web view. | 241 // Adds |recognizer| as a gesture recognizer to the web view. |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 298 | 302 |
| 299 // Acts on a single message from the JS object, parsed from JSON into a | 303 // Acts on a single message from the JS object, parsed from JSON into a |
| 300 // DictionaryValue. Returns NO if the format for the message was invalid. | 304 // DictionaryValue. Returns NO if the format for the message was invalid. |
| 301 - (BOOL)respondToMessage:(base::DictionaryValue*)crwMessage | 305 - (BOOL)respondToMessage:(base::DictionaryValue*)crwMessage |
| 302 userIsInteracting:(BOOL)userIsInteracting | 306 userIsInteracting:(BOOL)userIsInteracting |
| 303 originURL:(const GURL&)originURL; | 307 originURL:(const GURL&)originURL; |
| 304 | 308 |
| 305 @end | 309 @end |
| 306 | 310 |
| 307 #endif // IOS_WEB_WEB_STATE_UI_CRW_WEB_CONTROLLER_H_ | 311 #endif // IOS_WEB_WEB_STATE_UI_CRW_WEB_CONTROLLER_H_ |
| OLD | NEW |