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

Unified Diff: components/test_runner/event_sender.cc

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
« no previous file with comments | « components/html_viewer/touch_handler.cc ('k') | content/browser/renderer_host/input/touch_emulator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/test_runner/event_sender.cc
diff --git a/components/test_runner/event_sender.cc b/components/test_runner/event_sender.cc
index ffbd5569b4dbd572e8e6ee55360337945614ecb2..887b749e7d3d778c1c1b43a930da05c6758193ca 100644
--- a/components/test_runner/event_sender.cc
+++ b/components/test_runner/event_sender.cc
@@ -2099,7 +2099,7 @@ void EventSender::DoLeapForward(int milliseconds) {
}
void EventSender::SendCurrentTouchEvent(WebInputEvent::Type type,
- bool causesScrollingIfUncanceled) {
+ bool movedBeyondSlopRegion) {
DCHECK_GT(static_cast<unsigned>(WebTouchEvent::touchesLengthCap),
touch_points_.size());
if (force_layout_on_events_)
@@ -2110,7 +2110,7 @@ void EventSender::SendCurrentTouchEvent(WebInputEvent::Type type,
touch_event.modifiers = touch_modifiers_;
touch_event.cancelable = touch_cancelable_;
touch_event.timeStampSeconds = GetCurrentEventTimeSec();
- touch_event.causesScrollingIfUncanceled = causesScrollingIfUncanceled;
+ touch_event.movedBeyondSlopRegion = movedBeyondSlopRegion;
touch_event.touchesLength = touch_points_.size();
for (size_t i = 0; i < touch_points_.size(); ++i)
touch_event.touches[i] = touch_points_[i];
« no previous file with comments | « components/html_viewer/touch_handler.cc ('k') | content/browser/renderer_host/input/touch_emulator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698