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

Unified Diff: content/shell/renderer/test_runner/event_sender.cc

Issue 279403006: Update WebFrameTestProxy and WebTestProxy to mostly follow Chrome style. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: REBASE Created 6 years, 7 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 | « content/shell/renderer/test_runner/event_sender.h ('k') | content/shell/renderer/test_runner/test_runner.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/renderer/test_runner/event_sender.cc
diff --git a/content/shell/renderer/test_runner/event_sender.cc b/content/shell/renderer/test_runner/event_sender.cc
index ed5b2a66b1a54361b0aa8d8b73fcc0f6cadc9056..a03abf6902ab87fe1c9f054b00278ab32cdbff62 100644
--- a/content/shell/renderer/test_runner/event_sender.cc
+++ b/content/shell/renderer/test_runner/event_sender.cc
@@ -11,7 +11,7 @@
#include "content/shell/renderer/test_runner/MockSpellCheck.h"
#include "content/shell/renderer/test_runner/TestInterfaces.h"
#include "content/shell/renderer/test_runner/WebTestDelegate.h"
-#include "content/shell/renderer/test_runner/WebTestProxy.h"
+#include "content/shell/renderer/test_runner/web_test_proxy.h"
#include "gin/handle.h"
#include "gin/object_template_builder.h"
#include "gin/wrappable.h"
@@ -1378,8 +1378,8 @@ void EventSender::ZoomPageIn() {
const std::vector<WebTestProxyBase*>& window_list = interfaces_->windowList();
for (size_t i = 0; i < window_list.size(); ++i) {
- window_list.at(i)->webView()->setZoomLevel(
- window_list.at(i)->webView()->zoomLevel() + 1);
+ window_list.at(i)->GetWebView()->setZoomLevel(
+ window_list.at(i)->GetWebView()->zoomLevel() + 1);
}
}
@@ -1387,8 +1387,8 @@ void EventSender::ZoomPageOut() {
const std::vector<WebTestProxyBase*>& window_list = interfaces_->windowList();
for (size_t i = 0; i < window_list.size(); ++i) {
- window_list.at(i)->webView()->setZoomLevel(
- window_list.at(i)->webView()->zoomLevel() - 1);
+ window_list.at(i)->GetWebView()->setZoomLevel(
+ window_list.at(i)->GetWebView()->zoomLevel() - 1);
}
}
@@ -1396,7 +1396,7 @@ void EventSender::SetPageZoomFactor(double zoom_factor) {
const std::vector<WebTestProxyBase*>& window_list = interfaces_->windowList();
for (size_t i = 0; i < window_list.size(); ++i) {
- window_list.at(i)->webView()->setZoomLevel(
+ window_list.at(i)->GetWebView()->setZoomLevel(
ZoomFactorToZoomLevel(zoom_factor));
}
}
« no previous file with comments | « content/shell/renderer/test_runner/event_sender.h ('k') | content/shell/renderer/test_runner/test_runner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698