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

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

Issue 1137143004: WebUI for WKWebView (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 // Loads the URL indicated by current session state. 187 // Loads the URL indicated by current session state.
188 - (void)loadCurrentURL; 188 - (void)loadCurrentURL;
189 // Updates UIWebView's URL and urlOnStartLoading_ during back/forward navigation 189 // Updates UIWebView's URL and urlOnStartLoading_ during back/forward navigation
190 // over pushed URLs. Needed so that sites that depend on URL params/fragment 190 // over pushed URLs. Needed so that sites that depend on URL params/fragment
191 // continue to work correctly and checks for the URL don't incorrectly trigger 191 // continue to work correctly and checks for the URL don't incorrectly trigger
192 // -pageChanged calls. 192 // -pageChanged calls.
193 - (void)finishPushStateNavigationToURL:(const GURL&)url 193 - (void)finishPushStateNavigationToURL:(const GURL&)url
194 withStateObject:(NSString*)stateObject; 194 withStateObject:(NSString*)stateObject;
195 // Loads the HTML into the page. 195 // Loads the HTML into the page.
196 - (void)loadHTML:(NSString*)html; 196 - (void)loadHTML:(NSString*)html;
197 // Loads HTML in the page and presents it as if it was originating from an
198 // application specific URL.
199 - (void)loadHTML:(NSString*)HTML forAppSpecificURL:(const GURL&)URL;
197 200
198 // Causes the page to start loading immediately if there is a pending load; 201 // Causes the page to start loading immediately if there is a pending load;
199 // normally if the web view has been paged out for memory reasons, loads are 202 // normally if the web view has been paged out for memory reasons, loads are
200 // started lazily the next time the view is displayed. This can be called to 203 // started lazily the next time the view is displayed. This can be called to
201 // bypass the lazy behavior. This is equivalent to calling -view, but should be 204 // bypass the lazy behavior. This is equivalent to calling -view, but should be
202 // used when deliberately pre-triggering a load without displaying. 205 // used when deliberately pre-triggering a load without displaying.
203 - (void)triggerPendingLoad; 206 - (void)triggerPendingLoad;
204 207
205 // Navigate forwards or backwards by one page. 208 // Navigate forwards or backwards by one page.
206 - (void)goBack; 209 - (void)goBack;
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 // Returns the header height. 330 // Returns the header height.
328 - (CGFloat)headerHeight; 331 - (CGFloat)headerHeight;
329 332
330 // Caches request POST data in the given session entry. Exposed for testing. 333 // Caches request POST data in the given session entry. Exposed for testing.
331 - (void)cachePOSTDataForRequest:(NSURLRequest*)request 334 - (void)cachePOSTDataForRequest:(NSURLRequest*)request
332 inSessionEntry:(CRWSessionEntry*)currentSessionEntry; 335 inSessionEntry:(CRWSessionEntry*)currentSessionEntry;
333 336
334 @end 337 @end
335 338
336 #endif // IOS_WEB_WEB_STATE_UI_CRW_WEB_CONTROLLER_H_ 339 #endif // IOS_WEB_WEB_STATE_UI_CRW_WEB_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698