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 #include "content/shell/renderer/test_runner/test_interfaces.h" | 5 #include "components/test_runner/test_interfaces.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
9 #include "base/json/json_writer.h" | 9 #include "base/json/json_writer.h" |
10 #include "base/json/string_escape.h" | 10 #include "base/json/string_escape.h" |
11 #include "base/logging.h" | 11 #include "base/logging.h" |
12 #include "base/strings/stringprintf.h" | 12 #include "base/strings/stringprintf.h" |
13 #include "base/values.h" | 13 #include "base/values.h" |
14 #include "content/shell/renderer/test_runner/accessibility_controller.h" | 14 #include "components/test_runner/accessibility_controller.h" |
15 #include "content/shell/renderer/test_runner/app_banner_client.h" | 15 #include "components/test_runner/app_banner_client.h" |
16 #include "content/shell/renderer/test_runner/event_sender.h" | 16 #include "components/test_runner/event_sender.h" |
17 #include "content/shell/renderer/test_runner/gamepad_controller.h" | 17 #include "components/test_runner/gamepad_controller.h" |
18 #include "content/shell/renderer/test_runner/test_runner.h" | 18 #include "components/test_runner/test_runner.h" |
19 #include "content/shell/renderer/test_runner/text_input_controller.h" | 19 #include "components/test_runner/text_input_controller.h" |
20 #include "content/shell/renderer/test_runner/web_test_proxy.h" | 20 #include "components/test_runner/web_test_proxy.h" |
21 #include "third_party/WebKit/public/platform/WebURL.h" | 21 #include "third_party/WebKit/public/platform/WebURL.h" |
22 #include "third_party/WebKit/public/web/WebCache.h" | 22 #include "third_party/WebKit/public/web/WebCache.h" |
23 #include "third_party/WebKit/public/web/WebKit.h" | 23 #include "third_party/WebKit/public/web/WebKit.h" |
24 #include "third_party/WebKit/public/web/WebView.h" | 24 #include "third_party/WebKit/public/web/WebView.h" |
25 | 25 |
26 namespace content { | 26 namespace content { |
27 | 27 |
28 TestInterfaces::TestInterfaces() | 28 TestInterfaces::TestInterfaces() |
29 : accessibility_controller_(new AccessibilityController()), | 29 : accessibility_controller_(new AccessibilityController()), |
30 event_sender_(new EventSender(this)), | 30 event_sender_(new EventSender(this)), |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 if (!theme_engine_.get()) | 179 if (!theme_engine_.get()) |
180 theme_engine_.reset(new MockWebThemeEngine()); | 180 theme_engine_.reset(new MockWebThemeEngine()); |
181 return theme_engine_.get(); | 181 return theme_engine_.get(); |
182 } | 182 } |
183 | 183 |
184 AppBannerClient* TestInterfaces::GetAppBannerClient() { | 184 AppBannerClient* TestInterfaces::GetAppBannerClient() { |
185 return app_banner_client_; | 185 return app_banner_client_; |
186 } | 186 } |
187 | 187 |
188 } // namespace content | 188 } // namespace content |
OLD | NEW |