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

Side by Side Diff: ios/web/web_state/ui/crw_web_controller.h

Issue 2957163002: [Navigation Experiment] Add WKBasedNavigationManagerImpl. (Closed)
Patch Set: Created 3 years, 5 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_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 #import <WebKit/WebKit.h>
9 10
11 #import "ios/web/navigation/web_view_navigation_proxy.h"
10 #import "ios/web/net/crw_request_tracker_delegate.h" 12 #import "ios/web/net/crw_request_tracker_delegate.h"
11 #import "ios/web/public/navigation_manager.h" 13 #import "ios/web/public/navigation_manager.h"
12 #import "ios/web/public/web_state/js/crw_js_injection_evaluator.h" 14 #import "ios/web/public/web_state/js/crw_js_injection_evaluator.h"
13 #import "ios/web/public/web_state/ui/crw_web_delegate.h" 15 #import "ios/web/public/web_state/ui/crw_web_delegate.h"
14 #include "ios/web/public/web_state/url_verification_constants.h" 16 #include "ios/web/public/web_state/url_verification_constants.h"
15 #import "ios/web/web_state/ui/crw_touch_tracking_recognizer.h" 17 #import "ios/web/web_state/ui/crw_touch_tracking_recognizer.h"
16 18
17 namespace web { 19 namespace web {
18 20
19 // Page load phases. 21 // Page load phases.
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 @property(nonatomic, readonly) web::WebState* webState; 69 @property(nonatomic, readonly) web::WebState* webState;
68 @property(nonatomic, readonly) web::WebStateImpl* webStateImpl; 70 @property(nonatomic, readonly) web::WebStateImpl* webStateImpl;
69 71
70 // The container view used to display content. If the view has been purged due 72 // The container view used to display content. If the view has been purged due
71 // to low memory, this will recreate it. 73 // to low memory, this will recreate it.
72 @property(nonatomic, readonly) UIView* view; 74 @property(nonatomic, readonly) UIView* view;
73 75
74 // The web view proxy associated with this controller. 76 // The web view proxy associated with this controller.
75 @property(nonatomic, readonly) id<CRWWebViewProxy> webViewProxy; 77 @property(nonatomic, readonly) id<CRWWebViewProxy> webViewProxy;
76 78
79 // The web view navigation proxy associated with this controller.
80 @property(nonatomic, readonly)
81 web::WebViewNavigationProxy* webViewNavigationProxy;
82
77 // The view that generates print data when printing. It is nil if printing 83 // The view that generates print data when printing. It is nil if printing
78 // is not supported. 84 // is not supported.
79 @property(nonatomic, readonly) UIView* viewForPrinting; 85 @property(nonatomic, readonly) UIView* viewForPrinting;
80 86
81 // Content view was reset due to low memory. Use placeholder overlay view on 87 // Content view was reset due to low memory. Use placeholder overlay view on
82 // next creation. 88 // next creation.
83 @property(nonatomic, readwrite, assign) BOOL usePlaceholderOverlay; 89 @property(nonatomic, readwrite, assign) BOOL usePlaceholderOverlay;
84 90
85 // Returns the current page loading phase. 91 // Returns the current page loading phase.
86 @property(nonatomic, readonly) web::LoadPhase loadPhase; 92 @property(nonatomic, readonly) web::LoadPhase loadPhase;
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 285
280 // Returns the number of observers registered for this CRWWebController. 286 // Returns the number of observers registered for this CRWWebController.
281 - (NSUInteger)observerCount; 287 - (NSUInteger)observerCount;
282 288
283 // Loads the HTML into the page at the given URL. 289 // Loads the HTML into the page at the given URL.
284 - (void)loadHTML:(NSString*)HTML forURL:(const GURL&)URL; 290 - (void)loadHTML:(NSString*)HTML forURL:(const GURL&)URL;
285 291
286 @end 292 @end
287 293
288 #endif // IOS_WEB_WEB_STATE_UI_CRW_WEB_CONTROLLER_H_ 294 #endif // IOS_WEB_WEB_STATE_UI_CRW_WEB_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698