OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 #include "components/test_runner/web_frame_test_client.h" | 5 #include "content/shell/test_runner/web_frame_test_client.h" |
6 | 6 |
7 #include <memory> | 7 #include <memory> |
8 | 8 |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "base/strings/string_piece.h" | 10 #include "base/strings/string_piece.h" |
11 #include "base/strings/string_util.h" | 11 #include "base/strings/string_util.h" |
12 #include "base/strings/stringprintf.h" | 12 #include "base/strings/stringprintf.h" |
13 #include "components/test_runner/accessibility_controller.h" | 13 #include "content/shell/test_runner/accessibility_controller.h" |
14 #include "components/test_runner/event_sender.h" | 14 #include "content/shell/test_runner/event_sender.h" |
15 #include "components/test_runner/mock_color_chooser.h" | 15 #include "content/shell/test_runner/mock_color_chooser.h" |
16 #include "components/test_runner/mock_screen_orientation_client.h" | 16 #include "content/shell/test_runner/mock_screen_orientation_client.h" |
17 #include "components/test_runner/mock_web_user_media_client.h" | 17 #include "content/shell/test_runner/mock_web_user_media_client.h" |
18 #include "components/test_runner/test_common.h" | 18 #include "content/shell/test_runner/test_common.h" |
19 #include "components/test_runner/test_interfaces.h" | 19 #include "content/shell/test_runner/test_interfaces.h" |
20 #include "components/test_runner/test_plugin.h" | 20 #include "content/shell/test_runner/test_plugin.h" |
21 #include "components/test_runner/test_runner.h" | 21 #include "content/shell/test_runner/test_runner.h" |
22 #include "components/test_runner/web_frame_test_proxy.h" | 22 #include "content/shell/test_runner/web_frame_test_proxy.h" |
23 #include "components/test_runner/web_test_delegate.h" | 23 #include "content/shell/test_runner/web_test_delegate.h" |
24 #include "components/test_runner/web_view_test_proxy.h" | 24 #include "content/shell/test_runner/web_view_test_proxy.h" |
25 #include "components/test_runner/web_widget_test_proxy.h" | 25 #include "content/shell/test_runner/web_widget_test_proxy.h" |
26 #include "net/base/net_errors.h" | 26 #include "net/base/net_errors.h" |
27 #include "third_party/WebKit/public/platform/WebString.h" | 27 #include "third_party/WebKit/public/platform/WebString.h" |
28 #include "third_party/WebKit/public/platform/WebURL.h" | 28 #include "third_party/WebKit/public/platform/WebURL.h" |
29 #include "third_party/WebKit/public/platform/WebURLRequest.h" | 29 #include "third_party/WebKit/public/platform/WebURLRequest.h" |
30 #include "third_party/WebKit/public/platform/WebURLResponse.h" | 30 #include "third_party/WebKit/public/platform/WebURLResponse.h" |
31 #include "third_party/WebKit/public/web/WebConsoleMessage.h" | 31 #include "third_party/WebKit/public/web/WebConsoleMessage.h" |
32 #include "third_party/WebKit/public/web/WebDataSource.h" | 32 #include "third_party/WebKit/public/web/WebDataSource.h" |
33 #include "third_party/WebKit/public/web/WebElement.h" | 33 #include "third_party/WebKit/public/web/WebElement.h" |
34 #include "third_party/WebKit/public/web/WebFrame.h" | 34 #include "third_party/WebKit/public/web/WebFrame.h" |
35 #include "third_party/WebKit/public/web/WebLocalFrame.h" | 35 #include "third_party/WebKit/public/web/WebLocalFrame.h" |
(...skipping 697 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
733 blink::WebEffectiveConnectionType | 733 blink::WebEffectiveConnectionType |
734 WebFrameTestClient::getEffectiveConnectionType() { | 734 WebFrameTestClient::getEffectiveConnectionType() { |
735 return test_runner()->effective_connection_type(); | 735 return test_runner()->effective_connection_type(); |
736 } | 736 } |
737 | 737 |
738 TestRunner* WebFrameTestClient::test_runner() { | 738 TestRunner* WebFrameTestClient::test_runner() { |
739 return web_view_test_proxy_base_->test_interfaces()->GetTestRunner(); | 739 return web_view_test_proxy_base_->test_interfaces()->GetTestRunner(); |
740 } | 740 } |
741 | 741 |
742 } // namespace test_runner | 742 } // namespace test_runner |
OLD | NEW |