| 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/webkit_test_runner.h" | 5 #include "content/shell/renderer/webkit_test_runner.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 #include <clocale> | 8 #include <clocale> |
| 9 #include <cmath> | 9 #include <cmath> |
| 10 | 10 |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 #include "content/public/renderer/render_view.h" | 26 #include "content/public/renderer/render_view.h" |
| 27 #include "content/public/renderer/render_view_visitor.h" | 27 #include "content/public/renderer/render_view_visitor.h" |
| 28 #include "content/public/renderer/renderer_gamepad_provider.h" | 28 #include "content/public/renderer/renderer_gamepad_provider.h" |
| 29 #include "content/public/test/layouttest_support.h" | 29 #include "content/public/test/layouttest_support.h" |
| 30 #include "content/shell/common/shell_messages.h" | 30 #include "content/shell/common/shell_messages.h" |
| 31 #include "content/shell/common/shell_switches.h" | 31 #include "content/shell/common/shell_switches.h" |
| 32 #include "content/shell/common/webkit_test_helpers.h" | 32 #include "content/shell/common/webkit_test_helpers.h" |
| 33 #include "content/shell/renderer/gc_controller.h" | 33 #include "content/shell/renderer/gc_controller.h" |
| 34 #include "content/shell/renderer/leak_detector.h" | 34 #include "content/shell/renderer/leak_detector.h" |
| 35 #include "content/shell/renderer/shell_render_process_observer.h" | 35 #include "content/shell/renderer/shell_render_process_observer.h" |
| 36 #include "content/shell/renderer/test_runner/WebTask.h" | |
| 37 #include "content/shell/renderer/test_runner/WebTestInterfaces.h" | 36 #include "content/shell/renderer/test_runner/WebTestInterfaces.h" |
| 38 #include "content/shell/renderer/test_runner/mock_screen_orientation_client.h" | 37 #include "content/shell/renderer/test_runner/mock_screen_orientation_client.h" |
| 38 #include "content/shell/renderer/test_runner/web_task.h" |
| 39 #include "content/shell/renderer/test_runner/web_test_proxy.h" | 39 #include "content/shell/renderer/test_runner/web_test_proxy.h" |
| 40 #include "content/shell/renderer/test_runner/web_test_runner.h" | 40 #include "content/shell/renderer/test_runner/web_test_runner.h" |
| 41 #include "net/base/filename_util.h" | 41 #include "net/base/filename_util.h" |
| 42 #include "net/base/net_errors.h" | 42 #include "net/base/net_errors.h" |
| 43 #include "skia/ext/platform_canvas.h" | 43 #include "skia/ext/platform_canvas.h" |
| 44 #include "third_party/WebKit/public/platform/Platform.h" | 44 #include "third_party/WebKit/public/platform/Platform.h" |
| 45 #include "third_party/WebKit/public/platform/WebCString.h" | 45 #include "third_party/WebKit/public/platform/WebCString.h" |
| 46 #include "third_party/WebKit/public/platform/WebPoint.h" | 46 #include "third_party/WebKit/public/platform/WebPoint.h" |
| 47 #include "third_party/WebKit/public/platform/WebRect.h" | 47 #include "third_party/WebKit/public/platform/WebRect.h" |
| 48 #include "third_party/WebKit/public/platform/WebSize.h" | 48 #include "third_party/WebKit/public/platform/WebSize.h" |
| (...skipping 693 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 742 | 742 |
| 743 leak_detector_->TryLeakDetection(main_frame); | 743 leak_detector_->TryLeakDetection(main_frame); |
| 744 } | 744 } |
| 745 | 745 |
| 746 void WebKitTestRunner::ReportLeakDetectionResult( | 746 void WebKitTestRunner::ReportLeakDetectionResult( |
| 747 const LeakDetectionResult& report) { | 747 const LeakDetectionResult& report) { |
| 748 Send(new ShellViewHostMsg_LeakDetectionDone(routing_id(), report)); | 748 Send(new ShellViewHostMsg_LeakDetectionDone(routing_id(), report)); |
| 749 } | 749 } |
| 750 | 750 |
| 751 } // namespace content | 751 } // namespace content |
| OLD | NEW |