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

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

Issue 1645613007: Redefined the bit WebTouchEvent.causesScrollingIfUncanceled. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed an aura unittest. Created 4 years, 10 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/public/web/WebInputEvent.h
diff --git a/third_party/WebKit/public/web/WebInputEvent.h b/third_party/WebKit/public/web/WebInputEvent.h
index 92b6347a5996f609f49eb2870dee5ed97adb7134..b67617a10bfeae560b2d88079ded95f9477cd84f 100644
--- a/third_party/WebKit/public/web/WebInputEvent.h
+++ b/third_party/WebKit/public/web/WebInputEvent.h
@@ -582,12 +582,10 @@ public:
// must wait for an ACK for this event. If false then no ACK IPC is expected.
bool cancelable;
- // Whether the event will produce scroll-inducing events if uncanceled. This
- // will be true for touchmove events after the platform slop region has been
- // exceeded and fling-generating touchend events. Note that this doesn't
- // necessarily mean content will scroll, only that scroll events will be
- // generated.
- bool causesScrollingIfUncanceled;
+ // For a single touch, this is true after the touch-point has moved beyond
+ // the platform slop region. For a multitouch, this is true after any
+ // touch-point has moved (by whatever amount).
+ bool movedBeyondSlopRegion;
// A unique identifier for the touch event.
uint32_t uniqueTouchEventId;
@@ -596,7 +594,7 @@ public:
: WebInputEvent(sizeof(WebTouchEvent))
, touchesLength(0)
, cancelable(true)
- , causesScrollingIfUncanceled(false)
+ , movedBeyondSlopRegion(false)
, uniqueTouchEventId(0)
{
}
« no previous file with comments | « third_party/WebKit/Source/web/WebInputEventConversion.cpp ('k') | ui/aura/window_event_dispatcher_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698