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

Unified Diff: third_party/WebKit/Source/web/LinkHighlightImplTest.cpp

Issue 2539283002: Remove PlatformGestureEvent in favour of using WebGestureEvent (Closed)
Patch Set: Add missing copyright on new file Created 4 years 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
Index: third_party/WebKit/Source/web/LinkHighlightImplTest.cpp
diff --git a/third_party/WebKit/Source/web/LinkHighlightImplTest.cpp b/third_party/WebKit/Source/web/LinkHighlightImplTest.cpp
index 3dbb8f19d6baed34f48af03cc4b99137f5dd66a1..1c4411d702c41ca1d682d3fa092d0f1ffd0f5c4e 100644
--- a/third_party/WebKit/Source/web/LinkHighlightImplTest.cpp
+++ b/third_party/WebKit/Source/web/LinkHighlightImplTest.cpp
@@ -55,12 +55,12 @@ namespace blink {
GestureEventWithHitTestResults getTargetedEvent(WebViewImpl* webViewImpl,
WebGestureEvent& touchEvent) {
- PlatformGestureEventBuilder platformEvent(
+ WebGestureEvent scaledEvent = TransformWebGestureEvent(
webViewImpl->mainFrameImpl()->frameView(), touchEvent);
return webViewImpl->page()
->deprecatedLocalMainFrame()
->eventHandler()
- .targetGestureEvent(platformEvent, true);
+ .targetGestureEvent(scaledEvent, true);
}
TEST(LinkHighlightImplTest, verifyWebViewImplIntegration) {
« no previous file with comments | « third_party/WebKit/Source/web/InspectorOverlay.cpp ('k') | third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698