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

Side by Side 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: git cl w 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_PROTECTED_H_ 5 #ifndef IOS_WEB_WEB_STATE_UI_CRW_WEB_CONTROLLER_PROTECTED_H_
6 #define IOS_WEB_WEB_STATE_UI_CRW_WEB_CONTROLLER_PROTECTED_H_ 6 #define IOS_WEB_WEB_STATE_UI_CRW_WEB_CONTROLLER_PROTECTED_H_
7 7
8 #import "ios/web/web_state/ui/crw_web_controller.h" 8 #import "ios/web/web_state/ui/crw_web_controller.h"
9 9
10 #include "base/mac/scoped_nsobject.h" 10 #include "base/mac/scoped_nsobject.h"
(...skipping 392 matching lines...) Expand 10 before | Expand all | Expand 10 after
403 403
404 // Returns the current transition type. 404 // Returns the current transition type.
405 - (ui::PageTransition)currentTransition; 405 - (ui::PageTransition)currentTransition;
406 406
407 // Returns the current entry from the underlying session controller. 407 // Returns the current entry from the underlying session controller.
408 - (CRWSessionEntry*)currentSessionEntry; 408 - (CRWSessionEntry*)currentSessionEntry;
409 409
410 // Resets pending external request information. 410 // Resets pending external request information.
411 - (void)resetExternalRequest; 411 - (void)resetExternalRequest;
412 412
413 // Converts MIME type string to WebViewDocumentType.
414 - (web::WebViewDocumentType)documentTypeFromMIMEType:(NSString*)MIMEType;
415
413 @end 416 @end
414 417
415 #endif // IOS_WEB_WEB_STATE_UI_CRW_WEB_CONTROLLER_PROTECTED_H_ 418 #endif // IOS_WEB_WEB_STATE_UI_CRW_WEB_CONTROLLER_PROTECTED_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698