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 23 matching lines...) Expand all Loading... |
34 #include "components/test_runner/layout_dump_flags.h" | 34 #include "components/test_runner/layout_dump_flags.h" |
35 #include "components/test_runner/mock_screen_orientation_client.h" | 35 #include "components/test_runner/mock_screen_orientation_client.h" |
36 #include "components/test_runner/test_interfaces.h" | 36 #include "components/test_runner/test_interfaces.h" |
37 #include "components/test_runner/web_task.h" | 37 #include "components/test_runner/web_task.h" |
38 #include "components/test_runner/web_test_interfaces.h" | 38 #include "components/test_runner/web_test_interfaces.h" |
39 #include "components/test_runner/web_test_proxy.h" | 39 #include "components/test_runner/web_test_proxy.h" |
40 #include "components/test_runner/web_test_runner.h" | 40 #include "components/test_runner/web_test_runner.h" |
41 #include "content/public/common/content_switches.h" | 41 #include "content/public/common/content_switches.h" |
42 #include "content/public/common/url_constants.h" | 42 #include "content/public/common/url_constants.h" |
43 #include "content/public/common/web_preferences.h" | 43 #include "content/public/common/web_preferences.h" |
44 #include "content/public/renderer/media_stream_api.h" | 44 #include "content/public/renderer/media_stream_utils.h" |
45 #include "content/public/renderer/render_frame.h" | 45 #include "content/public/renderer/render_frame.h" |
46 #include "content/public/renderer/render_view.h" | 46 #include "content/public/renderer/render_view.h" |
47 #include "content/public/renderer/render_view_visitor.h" | 47 #include "content/public/renderer/render_view_visitor.h" |
48 #include "content/public/renderer/renderer_gamepad_provider.h" | 48 #include "content/public/renderer/renderer_gamepad_provider.h" |
49 #include "content/public/test/layouttest_support.h" | 49 #include "content/public/test/layouttest_support.h" |
50 #include "content/shell/common/layout_test/layout_test_messages.h" | 50 #include "content/shell/common/layout_test/layout_test_messages.h" |
51 #include "content/shell/common/shell_messages.h" | 51 #include "content/shell/common/shell_messages.h" |
52 #include "content/shell/common/shell_switches.h" | 52 #include "content/shell/common/shell_switches.h" |
53 #include "content/shell/renderer/layout_test/blink_test_helpers.h" | 53 #include "content/shell/renderer/layout_test/blink_test_helpers.h" |
54 #include "content/shell/renderer/layout_test/layout_test_render_process_observer
.h" | 54 #include "content/shell/renderer/layout_test/layout_test_render_process_observer
.h" |
55 #include "content/shell/renderer/layout_test/leak_detector.h" | 55 #include "content/shell/renderer/layout_test/leak_detector.h" |
56 #include "media/audio/audio_parameters.h" | 56 #include "media/audio/audio_parameters.h" |
| 57 #include "media/base/audio_capturer_source.h" |
| 58 #include "media/base/video_capturer_source.h" |
57 #include "net/base/filename_util.h" | 59 #include "net/base/filename_util.h" |
58 #include "net/base/net_errors.h" | 60 #include "net/base/net_errors.h" |
59 #include "skia/ext/platform_canvas.h" | 61 #include "skia/ext/platform_canvas.h" |
60 #include "third_party/WebKit/public/platform/FilePathConversion.h" | 62 #include "third_party/WebKit/public/platform/FilePathConversion.h" |
61 #include "third_party/WebKit/public/platform/Platform.h" | 63 #include "third_party/WebKit/public/platform/Platform.h" |
62 #include "third_party/WebKit/public/platform/WebCString.h" | 64 #include "third_party/WebKit/public/platform/WebCString.h" |
63 #include "third_party/WebKit/public/platform/WebPoint.h" | 65 #include "third_party/WebKit/public/platform/WebPoint.h" |
64 #include "third_party/WebKit/public/platform/WebRect.h" | 66 #include "third_party/WebKit/public/platform/WebRect.h" |
65 #include "third_party/WebKit/public/platform/WebSize.h" | 67 #include "third_party/WebKit/public/platform/WebSize.h" |
66 #include "third_party/WebKit/public/platform/WebString.h" | 68 #include "third_party/WebKit/public/platform/WebString.h" |
(...skipping 973 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1040 get_bluetooth_events_callbacks_.pop_front(); | 1042 get_bluetooth_events_callbacks_.pop_front(); |
1041 callback.Run(events); | 1043 callback.Run(events); |
1042 } | 1044 } |
1043 | 1045 |
1044 void BlinkTestRunner::ReportLeakDetectionResult( | 1046 void BlinkTestRunner::ReportLeakDetectionResult( |
1045 const LeakDetectionResult& report) { | 1047 const LeakDetectionResult& report) { |
1046 Send(new ShellViewHostMsg_LeakDetectionDone(routing_id(), report)); | 1048 Send(new ShellViewHostMsg_LeakDetectionDone(routing_id(), report)); |
1047 } | 1049 } |
1048 | 1050 |
1049 } // namespace content | 1051 } // namespace content |
OLD | NEW |