| OLD | NEW |
| 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 #import "ios/web/web_state/ui/crw_web_controller.h" | 5 #import "ios/web/web_state/ui/crw_web_controller.h" |
| 6 | 6 |
| 7 #import <WebKit/WebKit.h> | 7 #import <WebKit/WebKit.h> |
| 8 | 8 |
| 9 #import <objc/runtime.h> | 9 #import <objc/runtime.h> |
| 10 #include <stddef.h> | 10 #include <stddef.h> |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 #include "ios/web/public/url_util.h" | 62 #include "ios/web/public/url_util.h" |
| 63 #import "ios/web/public/web_client.h" | 63 #import "ios/web/public/web_client.h" |
| 64 #include "ios/web/public/web_kit_constants.h" | 64 #include "ios/web/public/web_kit_constants.h" |
| 65 #import "ios/web/public/web_state/context_menu_params.h" | 65 #import "ios/web/public/web_state/context_menu_params.h" |
| 66 #include "ios/web/public/web_state/credential.h" | 66 #include "ios/web/public/web_state/credential.h" |
| 67 #import "ios/web/public/web_state/crw_web_controller_observer.h" | 67 #import "ios/web/public/web_state/crw_web_controller_observer.h" |
| 68 #import "ios/web/public/web_state/crw_web_view_scroll_view_proxy.h" | 68 #import "ios/web/public/web_state/crw_web_view_scroll_view_proxy.h" |
| 69 #include "ios/web/public/web_state/js/credential_util.h" | 69 #include "ios/web/public/web_state/js/credential_util.h" |
| 70 #import "ios/web/public/web_state/js/crw_js_injection_manager.h" | 70 #import "ios/web/public/web_state/js/crw_js_injection_manager.h" |
| 71 #import "ios/web/public/web_state/js/crw_js_injection_receiver.h" | 71 #import "ios/web/public/web_state/js/crw_js_injection_receiver.h" |
| 72 #include "ios/web/public/web_state/page_display_state.h" | 72 #import "ios/web/public/web_state/page_display_state.h" |
| 73 #import "ios/web/public/web_state/ui/crw_content_view.h" | 73 #import "ios/web/public/web_state/ui/crw_content_view.h" |
| 74 #import "ios/web/public/web_state/ui/crw_context_menu_delegate.h" | 74 #import "ios/web/public/web_state/ui/crw_context_menu_delegate.h" |
| 75 #import "ios/web/public/web_state/ui/crw_native_content.h" | 75 #import "ios/web/public/web_state/ui/crw_native_content.h" |
| 76 #import "ios/web/public/web_state/ui/crw_native_content_provider.h" | 76 #import "ios/web/public/web_state/ui/crw_native_content_provider.h" |
| 77 #import "ios/web/public/web_state/ui/crw_web_view_content_view.h" | 77 #import "ios/web/public/web_state/ui/crw_web_view_content_view.h" |
| 78 #include "ios/web/public/web_state/url_verification_constants.h" | 78 #include "ios/web/public/web_state/url_verification_constants.h" |
| 79 #import "ios/web/public/web_state/web_state.h" | 79 #import "ios/web/public/web_state/web_state.h" |
| 80 #include "ios/web/public/webui/web_ui_ios.h" | 80 #include "ios/web/public/webui/web_ui_ios.h" |
| 81 #import "ios/web/web_state/blocked_popup_info.h" | 81 #import "ios/web/web_state/blocked_popup_info.h" |
| 82 #import "ios/web/web_state/crw_pass_kit_downloader.h" | 82 #import "ios/web/web_state/crw_pass_kit_downloader.h" |
| (...skipping 5369 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5452 } | 5452 } |
| 5453 | 5453 |
| 5454 return web::WEB_VIEW_DOCUMENT_TYPE_GENERIC; | 5454 return web::WEB_VIEW_DOCUMENT_TYPE_GENERIC; |
| 5455 } | 5455 } |
| 5456 | 5456 |
| 5457 - (NSString*)refererFromNavigationAction:(WKNavigationAction*)action { | 5457 - (NSString*)refererFromNavigationAction:(WKNavigationAction*)action { |
| 5458 return [action.request valueForHTTPHeaderField:@"Referer"]; | 5458 return [action.request valueForHTTPHeaderField:@"Referer"]; |
| 5459 } | 5459 } |
| 5460 | 5460 |
| 5461 @end | 5461 @end |
| OLD | NEW |