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

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

Issue 2782893002: WebMouseEvent coordinates are now fractional & private (Closed)
Patch Set: Rebased, fixed a comment in web_input_event_builders_mac.mm Created 3 years, 8 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
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 ca2f6893f01450038e33fe09f96383a3eb05655e..bcb7a4a33115f2d43345a99490c5dc44ac124616 100644
--- a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
+++ b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
@@ -11566,8 +11566,7 @@ bool testSelectAll(const std::string& html) {
WebInputEvent::TimeStampForTesting);
mouseEvent.button = WebMouseEvent::Button::Right;
- mouseEvent.x = 10;
- mouseEvent.y = 10;
+ mouseEvent.setPositionInWidget(10, 10);
mouseEvent.clickCount = 1;
webView->handleInputEvent(WebCoalescedInputEvent(mouseEvent));
runPendingTasks();

Powered by Google App Engine
This is Rietveld 408576698