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

Unified Diff: third_party/WebKit/public/platform/WebInputEvent.h

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
« no previous file with comments | « third_party/WebKit/Source/web/tests/WebInputEventConversionTest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/platform/WebInputEvent.h
diff --git a/third_party/WebKit/public/platform/WebInputEvent.h b/third_party/WebKit/public/platform/WebInputEvent.h
index 83f5613e04b402b278087aac0592db3d3273b3e6..c7ccbf8fb7817a7aed86b220ef3841ddd5f655cd 100644
--- a/third_party/WebKit/public/platform/WebInputEvent.h
+++ b/third_party/WebKit/public/platform/WebInputEvent.h
@@ -420,23 +420,6 @@ public:
Phase phase;
Phase momentumPhase;
- // Rubberbanding is an OSX visual effect. When a user scrolls the content
- // area with a track pad, and the content area is already at its limit in
- // the direction being scrolled, the entire content area is allowed to
- // scroll slightly off screen, revealing a grey background. When the user
- // lets go, the content area snaps back into place. Blink is responsible
- // for this rubberbanding effect, but the embedder may wish to disable
- // rubber banding in the left or right direction, if the scroll should have
- // an alternate effect. The common case is that a scroll in the left or
- // right directions causes a back or forwards navigation, respectively.
- //
- // These flags prevent rubber banding from starting in a given direction,
- // but have no effect on an ongoing rubber banding. A rubber banding that
- // started in the vertical direction is allowed to continue in the right
- // direction, even if canRubberbandRight is 0.
- bool canRubberbandLeft;
- bool canRubberbandRight;
-
bool scrollByPage;
bool hasPreciseScrollingDeltas;
@@ -457,8 +440,6 @@ public:
, resendingPluginId(-1)
, phase(PhaseNone)
, momentumPhase(PhaseNone)
- , canRubberbandLeft(true)
- , canRubberbandRight(true)
, scrollByPage(false)
, hasPreciseScrollingDeltas(false)
, railsMode(RailsModeFree)
« no previous file with comments | « third_party/WebKit/Source/web/tests/WebInputEventConversionTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698