OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/TestInterfaces.h" | 5 #include "content/shell/renderer/test_runner/TestInterfaces.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
11 #include "base/strings/stringprintf.h" | 11 #include "base/strings/stringprintf.h" |
12 #include "content/shell/common/shell_switches.h" | 12 #include "content/shell/common/shell_switches.h" |
13 #include "content/shell/renderer/test_runner/WebTestProxy.h" | |
14 #include "content/shell/renderer/test_runner/accessibility_controller.h" | 13 #include "content/shell/renderer/test_runner/accessibility_controller.h" |
15 #include "content/shell/renderer/test_runner/event_sender.h" | 14 #include "content/shell/renderer/test_runner/event_sender.h" |
16 #include "content/shell/renderer/test_runner/gamepad_controller.h" | 15 #include "content/shell/renderer/test_runner/gamepad_controller.h" |
17 #include "content/shell/renderer/test_runner/text_input_controller.h" | 16 #include "content/shell/renderer/test_runner/text_input_controller.h" |
18 #include "content/shell/renderer/test_runner/test_runner.h" | 17 #include "content/shell/renderer/test_runner/test_runner.h" |
| 18 #include "content/shell/renderer/test_runner/web_test_proxy.h" |
19 #include "third_party/WebKit/public/platform/WebString.h" | 19 #include "third_party/WebKit/public/platform/WebString.h" |
20 #include "third_party/WebKit/public/platform/WebURL.h" | 20 #include "third_party/WebKit/public/platform/WebURL.h" |
21 #include "third_party/WebKit/public/web/WebCache.h" | 21 #include "third_party/WebKit/public/web/WebCache.h" |
22 #include "third_party/WebKit/public/web/WebKit.h" | 22 #include "third_party/WebKit/public/web/WebKit.h" |
23 #include "third_party/WebKit/public/web/WebRuntimeFeatures.h" | 23 #include "third_party/WebKit/public/web/WebRuntimeFeatures.h" |
24 #include "third_party/WebKit/public/web/WebView.h" | 24 #include "third_party/WebKit/public/web/WebView.h" |
25 | 25 |
26 using namespace blink; | 26 using namespace blink; |
27 using namespace std; | 27 using namespace std; |
28 | 28 |
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
195 if (!m_themeEngine.get()) | 195 if (!m_themeEngine.get()) |
196 m_themeEngine.reset(new WebTestThemeEngineMac()); | 196 m_themeEngine.reset(new WebTestThemeEngineMac()); |
197 #else | 197 #else |
198 if (!m_themeEngine.get()) | 198 if (!m_themeEngine.get()) |
199 m_themeEngine.reset(new WebTestThemeEngineMock()); | 199 m_themeEngine.reset(new WebTestThemeEngineMock()); |
200 #endif | 200 #endif |
201 return m_themeEngine.get(); | 201 return m_themeEngine.get(); |
202 } | 202 } |
203 | 203 |
204 } // namespace content | 204 } // namespace content |
OLD | NEW |