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

Unified Diff: third_party/WebKit/Source/web/tests/WebFrameTest.cpp

Issue 2510133002: Add getCoalescedEvents API to PointerEvent (Closed)
Patch Set: Fix build.gn and add an extra test Created 4 years, 1 month 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/tests/WebFrameTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
index bfd2ffa23cba7330baf494009da07dd0f8b86463..81b2c8eab00606769fec82462ba15efaf9c763d7 100644
--- a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
+++ b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
@@ -10499,7 +10499,7 @@ TEST_F(WebFrameTest, MouseOverLinkAndOverlayScrollbar) {
WebPointerProperties::Button::NoButton, PlatformEvent::MouseMoved, 0,
PlatformEvent::NoModifiers, WTF::monotonicallyIncreasingTime());
document->frame()->eventHandler().handleMouseMoveEvent(
- mouseMoveOverLinkEvent);
+ mouseMoveOverLinkEvent, Vector<PlatformMouseEvent>());
EXPECT_EQ(
Cursor::Type::Hand,
@@ -10511,7 +10511,8 @@ TEST_F(WebFrameTest, MouseOverLinkAndOverlayScrollbar) {
IntPoint(18, aTag->offsetTop()), IntPoint(18, aTag->offsetTop()),
WebPointerProperties::Button::NoButton, PlatformEvent::MouseMoved, 0,
PlatformEvent::NoModifiers, WTF::monotonicallyIncreasingTime());
- document->frame()->eventHandler().handleMouseMoveEvent(mouseMoveEvent);
+ document->frame()->eventHandler().handleMouseMoveEvent(
+ mouseMoveEvent, Vector<PlatformMouseEvent>());
EXPECT_EQ(
Cursor::Type::Pointer,
@@ -10545,7 +10546,8 @@ TEST_F(WebFrameTest, MouseOverLinkAndOverlayScrollbar) {
EXPECT_TRUE(hitTestResult.innerElement());
EXPECT_FALSE(hitTestResult.scrollbar());
- document->frame()->eventHandler().handleMouseMoveEvent(mouseMoveEvent);
+ document->frame()->eventHandler().handleMouseMoveEvent(
+ mouseMoveEvent, Vector<PlatformMouseEvent>());
EXPECT_EQ(
Cursor::Type::Hand,

Powered by Google App Engine
This is Rietveld 408576698