| 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 #import <UIKit/UIKit.h> | 9 #import <UIKit/UIKit.h> |
| 9 #include <vector> | 10 #include <vector> |
| 10 | 11 |
| 11 #include "base/ios/block_types.h" | 12 #include "base/ios/block_types.h" |
| 12 #include "ios/web/public/favicon_url.h" | 13 #include "ios/web/public/favicon_url.h" |
| 13 #include "ios/web/public/ssl_status.h" | 14 #include "ios/web/public/ssl_status.h" |
| 14 #import "ios/web/public/web_state/ui/crw_native_content.h" | 15 #import "ios/web/public/web_state/ui/crw_native_content.h" |
| 15 #include "ios/web/public/web_state/web_state.h" | 16 #include "ios/web/public/web_state/web_state.h" |
| 16 #include "ui/base/page_transition_types.h" | 17 #include "ui/base/page_transition_types.h" |
| 17 | 18 |
| (...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 260 // Called when a PassKit file is downloaded. |data| should be the data from a | 261 // Called when a PassKit file is downloaded. |data| should be the data from a |
| 261 // PassKit file, but this is not guaranteed, and the delegate is responsible for | 262 // PassKit file, but this is not guaranteed, and the delegate is responsible for |
| 262 // error handling non PassKit data using -[PKPass initWithData:error:]. If the | 263 // error handling non PassKit data using -[PKPass initWithData:error:]. If the |
| 263 // download does not successfully complete, |data| will be nil. | 264 // download does not successfully complete, |data| will be nil. |
| 264 - (void)webController:(CRWWebController*)webController | 265 - (void)webController:(CRWWebController*)webController |
| 265 didLoadPassKitObject:(NSData*)data; | 266 didLoadPassKitObject:(NSData*)data; |
| 266 | 267 |
| 267 @end | 268 @end |
| 268 | 269 |
| 269 #endif // IOS_WEB_PUBLIC_WEB_STATE_UI_CRW_WEB_DELEGATE_H_ | 270 #endif // IOS_WEB_PUBLIC_WEB_STATE_UI_CRW_WEB_DELEGATE_H_ |
| OLD | NEW |