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

Unified Diff: components/test_runner/test_runner.cc

Issue 2171503005: Rename WebTestProxy to WebViewTestProxy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressing comments Created 4 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/test_runner/test_runner.h ('k') | components/test_runner/test_runner.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/test_runner/test_runner.cc
diff --git a/components/test_runner/test_runner.cc b/components/test_runner/test_runner.cc
index a410ad41192bcebe663e548c2f35664a0ac67662..cf41203f1ffe0ada8dd76989f7c8387154cd1e84 100644
--- a/components/test_runner/test_runner.cc
+++ b/components/test_runner/test_runner.cc
@@ -31,7 +31,7 @@
#include "components/test_runner/test_runner_for_specific_view.h"
#include "components/test_runner/web_task.h"
#include "components/test_runner/web_test_delegate.h"
-#include "components/test_runner/web_test_proxy.h"
+#include "components/test_runner/web_view_test_proxy.h"
#include "gin/arguments.h"
#include "gin/array_buffer.h"
#include "gin/handle.h"
@@ -2228,7 +2228,7 @@ void TestRunner::SetMockScreenOrientation(const std::string& orientation_str) {
orientation = WebScreenOrientationLandscapeSecondary;
}
- for (WebTestProxyBase* window : test_interfaces_->GetWindowList()) {
+ for (WebViewTestProxyBase* window : test_interfaces_->GetWindowList()) {
WebFrame* main_frame = window->web_view()->mainFrame();
// TODO(lukasza): Need to make this work for remote frames.
if (main_frame->isWebLocalFrame()) {
@@ -2341,7 +2341,7 @@ void TestRunner::SetAcceptLanguages(const std::string& accept_languages) {
layout_test_runtime_flags_.set_accept_languages(accept_languages);
OnLayoutTestRuntimeFlagsChanged();
- for (WebTestProxyBase* window : test_interfaces_->GetWindowList())
+ for (WebViewTestProxyBase* window : test_interfaces_->GetWindowList())
window->web_view()->acceptLanguagesChanged();
}
« no previous file with comments | « components/test_runner/test_runner.h ('k') | components/test_runner/test_runner.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698