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

Side by Side Diff: content/shell/test_runner/web_test_interfaces.cc

Issue 2689483007: Tests of ctrl-click can't postMessage to opener - using custom text instead. (Closed)
Patch Set: Rebasing... Created 3 years, 8 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
OLDNEW
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/test_runner/web_test_interfaces.h" 5 #include "content/shell/test_runner/web_test_interfaces.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/memory/ptr_util.h" 9 #include "base/memory/ptr_util.h"
10 #include "content/shell/test_runner/mock_web_audio_device.h" 10 #include "content/shell/test_runner/mock_web_audio_device.h"
(...skipping 21 matching lines...) Expand all
32 } 32 }
33 33
34 void WebTestInterfaces::SetDelegate(WebTestDelegate* delegate) { 34 void WebTestInterfaces::SetDelegate(WebTestDelegate* delegate) {
35 interfaces_->SetDelegate(delegate); 35 interfaces_->SetDelegate(delegate);
36 } 36 }
37 37
38 void WebTestInterfaces::ResetAll() { 38 void WebTestInterfaces::ResetAll() {
39 interfaces_->ResetAll(); 39 interfaces_->ResetAll();
40 } 40 }
41 41
42 bool WebTestInterfaces::TestIsRunning() {
43 return interfaces_->TestIsRunning();
44 }
45
42 void WebTestInterfaces::SetTestIsRunning(bool running) { 46 void WebTestInterfaces::SetTestIsRunning(bool running) {
43 interfaces_->SetTestIsRunning(running); 47 interfaces_->SetTestIsRunning(running);
44 } 48 }
45 49
46 void WebTestInterfaces::ConfigureForTestWithURL(const WebURL& test_url, 50 void WebTestInterfaces::ConfigureForTestWithURL(const WebURL& test_url,
47 bool generate_pixels) { 51 bool generate_pixels) {
48 interfaces_->ConfigureForTestWithURL(test_url, generate_pixels); 52 interfaces_->ConfigureForTestWithURL(test_url, generate_pixels);
49 } 53 }
50 54
51 WebTestRunner* WebTestInterfaces::TestRunner() { 55 WebTestRunner* WebTestInterfaces::TestRunner() {
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 } 107 }
104 108
105 std::vector<blink::WebView*> WebTestInterfaces::GetWindowList() { 109 std::vector<blink::WebView*> WebTestInterfaces::GetWindowList() {
106 std::vector<blink::WebView*> result; 110 std::vector<blink::WebView*> result;
107 for (WebViewTestProxyBase* proxy : interfaces_->GetWindowList()) 111 for (WebViewTestProxyBase* proxy : interfaces_->GetWindowList())
108 result.push_back(proxy->web_view()); 112 result.push_back(proxy->web_view());
109 return result; 113 return result;
110 } 114 }
111 115
112 } // namespace test_runner 116 } // namespace test_runner
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698