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

Unified Diff: tools/perf/page_sets/simple_mobile_sites_fling.py

Issue 2742473002: gpu benchmarking swipe for touchpad
Patch Set: Update direction in tests that use swipeElement/Page to maintain the same behavior. Created 3 years, 8 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 | « tools/perf/page_sets/polymer.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/page_sets/simple_mobile_sites_fling.py
diff --git a/tools/perf/page_sets/simple_mobile_sites_fling.py b/tools/perf/page_sets/simple_mobile_sites_fling.py
index f158be0dbcfe469d560f512f0090b458069c88f0..48c2cef7ea01ea35fab872ee91a2d4cb65edde9e 100644
--- a/tools/perf/page_sets/simple_mobile_sites_fling.py
+++ b/tools/perf/page_sets/simple_mobile_sites_fling.py
@@ -25,9 +25,9 @@ class SimpleFlingPage(page_module.Page):
def RunPageInteractions(self, action_runner):
with action_runner.CreateGestureInteraction('FlingAction'):
- # Swiping up induces a downward fling, and 500 pixels of touch scrolling
- # runway ensures consistent fling velocities.
- action_runner.SwipePage(direction='up',
+ # Swiping down induces a downward fling, and 500 pixels of touch
+ # scrolling runway ensures consistent fling velocities.
+ action_runner.SwipePage(direction='down',
distance='500',
speed_in_pixels_per_second=5000)
« no previous file with comments | « tools/perf/page_sets/polymer.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698