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

Unified Diff: ios/web/web_state/ui/crw_web_controller+protected.h

Issue 1458703004: Fixes document type detection on iOS 9. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments 1 Created 5 years, 1 month 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 187d12fd2946622ae3e3df628d90a9897a8d76ac..a6bc4dad8f76ea7e4f1312bbd06b9b4fbcd2f890 100644
--- a/ios/web/web_state/ui/crw_web_controller+protected.h
+++ b/ios/web/web_state/ui/crw_web_controller+protected.h
@@ -121,6 +121,9 @@ struct NewWindowInfo {
// Loads the given HTML in the web view.
- (void)loadWebHTMLString:(NSString*)html forURL:(const GURL&)URL;
+// Converts MIME type string to WebViewDocumentType.
+- (web::WebViewDocumentType)documentTypeFromMIMEType:(NSString*)MIMEType;
Eugene But (OOO till 7-30) 2015/11/19 16:29:01 This interface is divided by section. And this ver
stkhapugin 2015/11/20 10:50:43 Done.
+
// These public methods should be implemented by subclasses.
//- (void)evaluateJavaScript:(NSString*)script
// stringResultHandler:(web::JavaScriptCompletion)handler;

Powered by Google App Engine
This is Rietveld 408576698