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

Unified Diff: Source/core/inspector/InspectorInputAgent.cpp

Issue 1192563002: Pass real tilt information to PointerEvents. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Spelling, passing expected.txt Created 5 years, 5 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
« no previous file with comments | « Source/core/input/EventHandler.cpp ('k') | Source/platform/PlatformTouchPoint.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/InspectorInputAgent.cpp
diff --git a/Source/core/inspector/InspectorInputAgent.cpp b/Source/core/inspector/InspectorInputAgent.cpp
index 94e34776a8856f053f4f0cc98b6a6f80c3446143..8c0574410301b9e0827c1431de0a1f4f5830d770 100644
--- a/Source/core/inspector/InspectorInputAgent.cpp
+++ b/Source/core/inspector/InspectorInputAgent.cpp
@@ -52,13 +52,13 @@ class SyntheticInspectorTouchPoint : public blink::PlatformTouchPoint {
public:
SyntheticInspectorTouchPoint(int id, State state, const blink::IntPoint& screenPos, const blink::IntPoint& pos, int radiusX, int radiusY, double rotationAngle, double force)
{
- m_id = id;
+ m_pointerProperties.id = id;
m_screenPos = screenPos;
m_pos = pos;
m_state = state;
m_radius = blink::FloatSize(radiusX, radiusY);
m_rotationAngle = rotationAngle;
- m_force = force;
+ m_pointerProperties.force = force;
}
};
« no previous file with comments | « Source/core/input/EventHandler.cpp ('k') | Source/platform/PlatformTouchPoint.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698