Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(351)

Side by Side Diff: ios/web/public/web_state/ui/crw_web_delegate.h

Issue 2737203002: Remove CRWSessionEntry. (Closed)
Patch Set: fix XCode-clang build Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 #import "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 #import "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;
22 @class CRWWebController; 21 @class CRWWebController;
23 22
24 // Methods implemented by the delegate of the CRWWebController. 23 // Methods implemented by the delegate of the CRWWebController.
25 // DEPRECATED, do not conform to this protocol and do not add any methods to it. 24 // DEPRECATED, do not conform to this protocol and do not add any methods to it.
26 // Use web::WebStateDelegate instead. 25 // Use web::WebStateDelegate instead.
27 // TODO(crbug.com/674991): Remove this protocol. 26 // TODO(crbug.com/674991): Remove this protocol.
28 @protocol CRWWebDelegate<NSObject> 27 @protocol CRWWebDelegate<NSObject>
29 28
30 // Called when the page calls window.close() on itself. Begin the shut-down 29 // Called when the page calls window.close() on itself. Begin the shut-down
31 // sequence for this controller. 30 // sequence for this controller.
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 // Called when a PassKit file is downloaded. |data| should be the data from a 133 // Called when a PassKit file is downloaded. |data| should be the data from a
135 // PassKit file, but this is not guaranteed, and the delegate is responsible for 134 // PassKit file, but this is not guaranteed, and the delegate is responsible for
136 // error handling non PassKit data using -[PKPass initWithData:error:]. If the 135 // error handling non PassKit data using -[PKPass initWithData:error:]. If the
137 // download does not successfully complete, |data| will be nil. 136 // download does not successfully complete, |data| will be nil.
138 - (void)webController:(CRWWebController*)webController 137 - (void)webController:(CRWWebController*)webController
139 didLoadPassKitObject:(NSData*)data; 138 didLoadPassKitObject:(NSData*)data;
140 139
141 @end 140 @end
142 141
143 #endif // IOS_WEB_PUBLIC_WEB_STATE_UI_CRW_WEB_DELEGATE_H_ 142 #endif // IOS_WEB_PUBLIC_WEB_STATE_UI_CRW_WEB_DELEGATE_H_
OLDNEW
« no previous file with comments | « ios/web/navigation/session_storage_builder.mm ('k') | ios/web/web_state/ui/crw_web_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698