OLD | NEW |
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 Loading... |
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_ |
OLD | NEW |