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_PUBLIC_WEB_STATE_UI_CRW_WEB_DELEGATE_H_ | 5 #ifndef IOS_WEB_PUBLIC_WEB_STATE_UI_CRW_WEB_DELEGATE_H_ |
6 #define IOS_WEB_PUBLIC_WEB_STATE_UI_CRW_WEB_DELEGATE_H_ | 6 #define IOS_WEB_PUBLIC_WEB_STATE_UI_CRW_WEB_DELEGATE_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 #import <UIKit/UIKit.h> | 9 #import <UIKit/UIKit.h> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/ios/block_types.h" | 12 #import "base/ios/block_types.h" |
13 #include "ios/web/public/favicon_url.h" | 13 #include "ios/web/public/favicon_url.h" |
14 #import "ios/web/public/navigation_manager.h" | 14 #import "ios/web/public/navigation_manager.h" |
15 #include "ios/web/public/ssl_status.h" | 15 #include "ios/web/public/ssl_status.h" |
16 #import "ios/web/public/web_state/ui/crw_native_content.h" | 16 #import "ios/web/public/web_state/ui/crw_native_content.h" |
17 #include "ios/web/public/web_state/web_state.h" | 17 #import "ios/web/public/web_state/web_state.h" |
18 #include "ui/base/page_transition_types.h" | 18 #include "ui/base/page_transition_types.h" |
19 | 19 |
20 class GURL; | 20 class GURL; |
21 @class CRWSessionEntry; | 21 @class CRWSessionEntry; |
22 @class CRWWebController; | 22 @class CRWWebController; |
23 | 23 |
24 namespace web { | 24 namespace web { |
25 class BlockedPopupInfo; | 25 class BlockedPopupInfo; |
26 struct Referrer; | 26 struct Referrer; |
27 } | 27 } |
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
201 // Called when a PassKit file is downloaded. |data| should be the data from a | 201 // Called when a PassKit file is downloaded. |data| should be the data from a |
202 // PassKit file, but this is not guaranteed, and the delegate is responsible for | 202 // PassKit file, but this is not guaranteed, and the delegate is responsible for |
203 // error handling non PassKit data using -[PKPass initWithData:error:]. If the | 203 // error handling non PassKit data using -[PKPass initWithData:error:]. If the |
204 // download does not successfully complete, |data| will be nil. | 204 // download does not successfully complete, |data| will be nil. |
205 - (void)webController:(CRWWebController*)webController | 205 - (void)webController:(CRWWebController*)webController |
206 didLoadPassKitObject:(NSData*)data; | 206 didLoadPassKitObject:(NSData*)data; |
207 | 207 |
208 @end | 208 @end |
209 | 209 |
210 #endif // IOS_WEB_PUBLIC_WEB_STATE_UI_CRW_WEB_DELEGATE_H_ | 210 #endif // IOS_WEB_PUBLIC_WEB_STATE_UI_CRW_WEB_DELEGATE_H_ |
OLD | NEW |