| 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 #import "ios/web/web_state/ui/crw_wk_web_view_web_controller.h" | 5 #import "ios/web/web_state/ui/crw_wk_web_view_web_controller.h" |
| 6 | 6 |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 | 8 |
| 9 #include <utility> | 9 #include <utility> |
| 10 | 10 |
| 11 #include "base/containers/mru_cache.h" | 11 #include "base/containers/mru_cache.h" |
| 12 #include "base/ios/ios_util.h" | 12 #include "base/ios/ios_util.h" |
| 13 #include "base/ios/weak_nsobject.h" | 13 #include "base/ios/weak_nsobject.h" |
| 14 #include "base/json/json_reader.h" | 14 #include "base/json/json_reader.h" |
| 15 #import "base/mac/objc_property_releaser.h" | 15 #import "base/mac/objc_property_releaser.h" |
| 16 #import "base/mac/scoped_nsobject.h" | 16 #import "base/mac/scoped_nsobject.h" |
| 17 #include "base/macros.h" | 17 #include "base/macros.h" |
| 18 #include "base/metrics/histogram_macros.h" | 18 #include "base/metrics/histogram_macros.h" |
| 19 #include "base/strings/sys_string_conversions.h" | 19 #include "base/strings/sys_string_conversions.h" |
| 20 #include "base/values.h" | 20 #include "base/values.h" |
| 21 #import "ios/net/http_response_headers_util.h" | 21 #import "ios/net/http_response_headers_util.h" |
| 22 #import "ios/web/crw_network_activity_indicator_manager.h" | 22 #import "ios/web/crw_network_activity_indicator_manager.h" |
| 23 #import "ios/web/navigation/crw_session_controller.h" | 23 #import "ios/web/navigation/crw_session_controller.h" |
| 24 #import "ios/web/navigation/crw_session_entry.h" | 24 #import "ios/web/navigation/crw_session_entry.h" |
| 25 #include "ios/web/navigation/navigation_item_impl.h" | 25 #include "ios/web/navigation/navigation_item_impl.h" |
| 26 #include "ios/web/navigation/web_load_params.h" | |
| 27 #include "ios/web/net/cert_host_pair.h" | 26 #include "ios/web/net/cert_host_pair.h" |
| 27 #import "ios/web/public/navigation_manager.h" |
| 28 #import "ios/web/net/crw_cert_verification_controller.h" | 28 #import "ios/web/net/crw_cert_verification_controller.h" |
| 29 #include "ios/web/public/browser_state.h" | 29 #include "ios/web/public/browser_state.h" |
| 30 #include "ios/web/public/cert_store.h" | 30 #include "ios/web/public/cert_store.h" |
| 31 #include "ios/web/public/navigation_item.h" | 31 #include "ios/web/public/navigation_item.h" |
| 32 #include "ios/web/public/ssl_status.h" | 32 #include "ios/web/public/ssl_status.h" |
| 33 #include "ios/web/public/url_util.h" | 33 #include "ios/web/public/url_util.h" |
| 34 #include "ios/web/public/web_client.h" | 34 #include "ios/web/public/web_client.h" |
| 35 #include "ios/web/public/web_kit_constants.h" | 35 #include "ios/web/public/web_kit_constants.h" |
| 36 #import "ios/web/public/web_state/crw_web_view_scroll_view_proxy.h" | 36 #import "ios/web/public/web_state/crw_web_view_scroll_view_proxy.h" |
| 37 #import "ios/web/public/web_state/js/crw_js_injection_manager.h" | 37 #import "ios/web/public/web_state/js/crw_js_injection_manager.h" |
| (...skipping 1987 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2025 runJavaScriptTextInputPanelWithPrompt:prompt | 2025 runJavaScriptTextInputPanelWithPrompt:prompt |
| 2026 defaultText:defaultText | 2026 defaultText:defaultText |
| 2027 requestURL:requestURL | 2027 requestURL:requestURL |
| 2028 completionHandler:completionHandler]; | 2028 completionHandler:completionHandler]; |
| 2029 } else if (completionHandler) { | 2029 } else if (completionHandler) { |
| 2030 completionHandler(nil); | 2030 completionHandler(nil); |
| 2031 } | 2031 } |
| 2032 } | 2032 } |
| 2033 | 2033 |
| 2034 @end | 2034 @end |
| OLD | NEW |