Index: content/shell/renderer/layout_test/blink_test_runner.cc |
diff --git a/content/shell/renderer/layout_test/blink_test_runner.cc b/content/shell/renderer/layout_test/blink_test_runner.cc |
index da1272fb7a1e550451d50f6f90cd46e5ebaa14ec..a956d93b5c5faa035498148bad3c8af682758710 100644 |
--- a/content/shell/renderer/layout_test/blink_test_runner.cc |
+++ b/content/shell/renderer/layout_test/blink_test_runner.cc |
@@ -62,6 +62,7 @@ |
#include "skia/ext/platform_canvas.h" |
#include "third_party/WebKit/public/platform/FilePathConversion.h" |
#include "third_party/WebKit/public/platform/Platform.h" |
+#include "third_party/WebKit/public/platform/WebInputEvent.h" |
#include "third_party/WebKit/public/platform/WebPoint.h" |
#include "third_party/WebKit/public/platform/WebRect.h" |
#include "third_party/WebKit/public/platform/WebSecurityOrigin.h" |
@@ -500,6 +501,19 @@ float BlinkTestRunner::GetWindowToViewportScale() { |
return content::GetWindowToViewportScale(render_view()); |
} |
+std::unique_ptr<blink::WebInputEvent> |
+BlinkTestRunner::TransformScreenToWidgetCoordinates( |
+ test_runner::WebWidgetTestProxyBase* web_widget_test_proxy_base, |
+ const blink::WebInputEvent& event) { |
+ return content::TransformScreenToWidgetCoordinates(web_widget_test_proxy_base, |
+ event); |
+} |
+ |
+test_runner::WebWidgetTestProxyBase* BlinkTestRunner::GetWebWidgetTestProxyBase( |
+ blink::WebLocalFrame* frame) { |
+ return content::GetWebWidgetTestProxyBase(frame); |
+} |
+ |
void BlinkTestRunner::EnableUseZoomForDSF() { |
base::CommandLine::ForCurrentProcess()-> |
AppendSwitch(switches::kEnableUseZoomForDSF); |