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

Unified Diff: content/common/input/web_input_event_traits.cc

Issue 2227803003: Plumb phase/momentum for WheelEvent. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Non-Mac compile. Created 4 years, 4 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: content/common/input/web_input_event_traits.cc
diff --git a/content/common/input/web_input_event_traits.cc b/content/common/input/web_input_event_traits.cc
index fd0e1b5bb78a94297b242718c12441e583c0e04e..d88d85c3c8eacd3cf8b31d6709d5c3401050232a 100644
--- a/content/common/input/web_input_event_traits.cc
+++ b/content/common/input/web_input_event_traits.cc
@@ -52,11 +52,10 @@ void ApppendEventDetails(const WebMouseWheelEvent& event, std::string* result) {
result,
"{\n Delta: (%f, %f)\n WheelTicks: (%f, %f)\n Accel: (%f, %f)\n"
" ScrollByPage: %d\n HasPreciseScrollingDeltas: %d\n"
- " Phase: (%d, %d)\n CanRubberband: (%d, %d)\n}",
+ " Phase: (%d, %d)",
event.deltaX, event.deltaY, event.wheelTicksX, event.wheelTicksY,
event.accelerationRatioX, event.accelerationRatioY, event.scrollByPage,
- event.hasPreciseScrollingDeltas, event.phase, event.momentumPhase,
- event.canRubberbandLeft, event.canRubberbandRight);
+ event.hasPreciseScrollingDeltas, event.phase, event.momentumPhase);
}
void ApppendEventDetails(const WebGestureEvent& event, std::string* result) {

Powered by Google App Engine
This is Rietveld 408576698