| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_USER_INTERFACE_DELEGATE_H_ | 5 #ifndef IOS_WEB_PUBLIC_WEB_STATE_CRW_WEB_USER_INTERFACE_DELEGATE_H_ |
| 6 #define IOS_WEB_PUBLIC_WEB_STATE_CRW_WEB_USER_INTERFACE_DELEGATE_H_ | 6 #define IOS_WEB_PUBLIC_WEB_STATE_CRW_WEB_USER_INTERFACE_DELEGATE_H_ |
| 7 | 7 |
| 8 #include <Foundation/Foundation.h> | 8 #import <Foundation/Foundation.h> |
| 9 | 9 |
| 10 @class CRWWebController; | 10 @class CRWWebController; |
| 11 class GURL; | 11 class GURL; |
| 12 | 12 |
| 13 // DEPRECATED, do not conform to this protocol and do not add any methods to it. | 13 // DEPRECATED, do not conform to this protocol and do not add any methods to it. |
| 14 // Use web::WebStateDelegate instead. | 14 // Use web::WebStateDelegate instead. |
| 15 // TODO(crbug.com/675001): Remove this protocol. | 15 // TODO(crbug.com/675001): Remove this protocol. |
| 16 @protocol CRWWebUserInterfaceDelegate<NSObject> | 16 @protocol CRWWebUserInterfaceDelegate<NSObject> |
| 17 | 17 |
| 18 @optional | 18 @optional |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 proposedCredential:(NSURLCredential*)credential | 69 proposedCredential:(NSURLCredential*)credential |
| 70 completionHandler: | 70 completionHandler: |
| 71 (void (^)(NSString* user, NSString* password))handler; | 71 (void (^)(NSString* user, NSString* password))handler; |
| 72 | 72 |
| 73 // Cancels any outstanding dialogs requested by the methods above. | 73 // Cancels any outstanding dialogs requested by the methods above. |
| 74 - (void)cancelDialogsForWebController:(CRWWebController*)webController; | 74 - (void)cancelDialogsForWebController:(CRWWebController*)webController; |
| 75 | 75 |
| 76 @end | 76 @end |
| 77 | 77 |
| 78 #endif // IOS_WEB_PUBLIC_WEB_STATE_CRW_WEB_USER_INTERFACE_DELEGATE_H_ | 78 #endif // IOS_WEB_PUBLIC_WEB_STATE_CRW_WEB_USER_INTERFACE_DELEGATE_H_ |
| OLD | NEW |