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

Unified Diff: ios/web/web_state/ui/crw_web_controller+protected.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 side-by-side diff with in-line comments
Download patch
Index: ios/web/web_state/ui/crw_web_controller+protected.h
diff --git a/ios/web/web_state/ui/crw_web_controller+protected.h b/ios/web/web_state/ui/crw_web_controller+protected.h
index 7d5dca5178cf8feed0852f86d15b7e528dd077e5..d455ebce9b2e1b4d33a648b013a71959f8e13e48 100644
--- a/ios/web/web_state/ui/crw_web_controller+protected.h
+++ b/ios/web/web_state/ui/crw_web_controller+protected.h
@@ -110,9 +110,6 @@ struct NewWindowInfo {
// Returns the type of document object loaded in the web view.
- (web::WebViewDocumentType)webViewDocumentType;
-// Loads the given request in the web view.
-- (void)loadWebRequest:(NSURLRequest*)request;
-
// Loads the given HTML in the web view.
- (void)loadWebHTMLString:(NSString*)html forURL:(const GURL&)URL;
@@ -121,6 +118,7 @@ struct NewWindowInfo {
// stringResultHandler:(web::JavaScriptCompletion)handler;
//- (BOOL)scriptHasBeenInjectedForClass:(Class)jsInjectionManagerClass
// presenceBeacon:(NSString*)beacon;
+//- (void)loadRequest:(NSMutableURLRequest*)request;
// Subclasses must call super's implementation.
//- (void)injectScript:(NSString*)script
// forClass:(Class)jsInjectionManagerClass;
@@ -183,6 +181,12 @@ struct NewWindowInfo {
(base::DictionaryValue*)message
context:(NSDictionary*)context;
+// Sets up WebUI for URL.
+- (void)createWebUIForURL:(const GURL&)URL;
+
+// Clears WebUI, if one exists.
+- (void)clearWebUI;
+
#pragma mark - Internal methods for use by subclasses
// The web view's view of the current URL. During page transitions

Powered by Google App Engine
This is Rietveld 408576698