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 #import <WebKit/WebKit.h> | 8 #import <WebKit/WebKit.h> |
8 | 9 |
9 #include "base/containers/mru_cache.h" | 10 #include "base/containers/mru_cache.h" |
10 #include "base/ios/ios_util.h" | 11 #include "base/ios/ios_util.h" |
11 #include "base/ios/weak_nsobject.h" | 12 #include "base/ios/weak_nsobject.h" |
12 #include "base/json/json_reader.h" | 13 #include "base/json/json_reader.h" |
13 #import "base/mac/objc_property_releaser.h" | 14 #import "base/mac/objc_property_releaser.h" |
14 #import "base/mac/scoped_nsobject.h" | 15 #import "base/mac/scoped_nsobject.h" |
15 #include "base/macros.h" | 16 #include "base/macros.h" |
16 #include "base/metrics/histogram_macros.h" | 17 #include "base/metrics/histogram_macros.h" |
(...skipping 2054 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2071 runJavaScriptTextInputPanelWithPrompt:prompt | 2072 runJavaScriptTextInputPanelWithPrompt:prompt |
2072 defaultText:defaultText | 2073 defaultText:defaultText |
2073 requestURL:requestURL | 2074 requestURL:requestURL |
2074 completionHandler:completionHandler]; | 2075 completionHandler:completionHandler]; |
2075 } else if (completionHandler) { | 2076 } else if (completionHandler) { |
2076 completionHandler(nil); | 2077 completionHandler(nil); |
2077 } | 2078 } |
2078 } | 2079 } |
2079 | 2080 |
2080 @end | 2081 @end |
OLD | NEW |