OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/layout_test/blink_test_runner.h" | 5 #include "content/shell/renderer/layout_test/blink_test_runner.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 #include <algorithm> | 8 #include <algorithm> |
9 #include <clocale> | 9 #include <clocale> |
10 #include <cmath> | 10 #include <cmath> |
(...skipping 18 matching lines...) Expand all Loading... |
29 #include "base/values.h" | 29 #include "base/values.h" |
30 #include "build/build_config.h" | 30 #include "build/build_config.h" |
31 #include "components/plugins/renderer/plugin_placeholder.h" | 31 #include "components/plugins/renderer/plugin_placeholder.h" |
32 #include "components/test_runner/gamepad_controller.h" | 32 #include "components/test_runner/gamepad_controller.h" |
33 #include "components/test_runner/web_test_interfaces.h" | 33 #include "components/test_runner/web_test_interfaces.h" |
34 #include "components/test_runner/web_test_proxy.h" | 34 #include "components/test_runner/web_test_proxy.h" |
35 #include "components/test_runner/web_test_runner.h" | 35 #include "components/test_runner/web_test_runner.h" |
36 #include "content/public/common/content_switches.h" | 36 #include "content/public/common/content_switches.h" |
37 #include "content/public/common/url_constants.h" | 37 #include "content/public/common/url_constants.h" |
38 #include "content/public/common/web_preferences.h" | 38 #include "content/public/common/web_preferences.h" |
39 #include "content/public/renderer/media_stream_api.h" | 39 #include "content/public/renderer/media_stream_utils.h" |
40 #include "content/public/renderer/render_frame.h" | 40 #include "content/public/renderer/render_frame.h" |
41 #include "content/public/renderer/render_view.h" | 41 #include "content/public/renderer/render_view.h" |
42 #include "content/public/renderer/render_view_visitor.h" | 42 #include "content/public/renderer/render_view_visitor.h" |
43 #include "content/public/renderer/renderer_gamepad_provider.h" | 43 #include "content/public/renderer/renderer_gamepad_provider.h" |
44 #include "content/public/test/layouttest_support.h" | 44 #include "content/public/test/layouttest_support.h" |
45 #include "content/shell/common/layout_test/layout_test_messages.h" | 45 #include "content/shell/common/layout_test/layout_test_messages.h" |
46 #include "content/shell/common/shell_messages.h" | 46 #include "content/shell/common/shell_messages.h" |
47 #include "content/shell/common/shell_switches.h" | 47 #include "content/shell/common/shell_switches.h" |
48 #include "content/shell/renderer/layout_test/blink_test_helpers.h" | 48 #include "content/shell/renderer/layout_test/blink_test_helpers.h" |
49 #include "content/shell/renderer/layout_test/layout_test_render_process_observer
.h" | 49 #include "content/shell/renderer/layout_test/layout_test_render_process_observer
.h" |
50 #include "content/shell/renderer/layout_test/leak_detector.h" | 50 #include "content/shell/renderer/layout_test/leak_detector.h" |
51 #include "media/audio/audio_parameters.h" | 51 #include "media/audio/audio_parameters.h" |
| 52 #include "media/base/audio_capturer_source.h" |
| 53 #include "media/base/video_capturer_source.h" |
52 #include "net/base/filename_util.h" | 54 #include "net/base/filename_util.h" |
53 #include "net/base/net_errors.h" | 55 #include "net/base/net_errors.h" |
54 #include "skia/ext/platform_canvas.h" | 56 #include "skia/ext/platform_canvas.h" |
55 #include "third_party/WebKit/public/platform/FilePathConversion.h" | 57 #include "third_party/WebKit/public/platform/FilePathConversion.h" |
56 #include "third_party/WebKit/public/platform/Platform.h" | 58 #include "third_party/WebKit/public/platform/Platform.h" |
57 #include "third_party/WebKit/public/platform/WebCString.h" | 59 #include "third_party/WebKit/public/platform/WebCString.h" |
58 #include "third_party/WebKit/public/platform/WebPoint.h" | 60 #include "third_party/WebKit/public/platform/WebPoint.h" |
59 #include "third_party/WebKit/public/platform/WebRect.h" | 61 #include "third_party/WebKit/public/platform/WebRect.h" |
60 #include "third_party/WebKit/public/platform/WebSize.h" | 62 #include "third_party/WebKit/public/platform/WebSize.h" |
61 #include "third_party/WebKit/public/platform/WebString.h" | 63 #include "third_party/WebKit/public/platform/WebString.h" |
(...skipping 948 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1010 get_bluetooth_events_callbacks_.pop_front(); | 1012 get_bluetooth_events_callbacks_.pop_front(); |
1011 callback.Run(events); | 1013 callback.Run(events); |
1012 } | 1014 } |
1013 | 1015 |
1014 void BlinkTestRunner::ReportLeakDetectionResult( | 1016 void BlinkTestRunner::ReportLeakDetectionResult( |
1015 const LeakDetectionResult& report) { | 1017 const LeakDetectionResult& report) { |
1016 Send(new ShellViewHostMsg_LeakDetectionDone(routing_id(), report)); | 1018 Send(new ShellViewHostMsg_LeakDetectionDone(routing_id(), report)); |
1017 } | 1019 } |
1018 | 1020 |
1019 } // namespace content | 1021 } // namespace content |
OLD | NEW |