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

Unified Diff: third_party/WebKit/Source/core/events/PointerEventManagerTest.cpp

Issue 1617863002: Set the correct pressure for pointer events based on force (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix the tests Created 4 years, 11 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/core/events/PointerEventManagerTest.cpp
diff --git a/third_party/WebKit/Source/core/events/PointerEventManagerTest.cpp b/third_party/WebKit/Source/core/events/PointerEventManagerTest.cpp
index 439158d0ff24f40e56af3b7dc1dc86227c83093b..359f84592713a393cd33f45f76431a2575054439 100644
--- a/third_party/WebKit/Source/core/events/PointerEventManagerTest.cpp
+++ b/third_party/WebKit/Source/core/events/PointerEventManagerTest.cpp
@@ -52,6 +52,7 @@ PointerEventManagerTest::PlatformTouchPointBuilder::PlatformTouchPointBuilder(
{
m_pointerProperties.id = id;
m_pointerProperties.pointerType = pointerType;
+ m_pointerProperties.force = 1.0;
}
PointerEventManagerTest::PlatformMouseEventBuilder::PlatformMouseEventBuilder(

Powered by Google App Engine
This is Rietveld 408576698