Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(131)

Side by Side Diff: content/shell/renderer/webkit_test_runner.cc

Issue 566833002: Update WebTask in chromium c++ style (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: resolved build error Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/shell/renderer/test_runner/web_test_proxy.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « content/shell/renderer/test_runner/web_test_proxy.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698