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

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

Issue 1052493004: CL for perf tryjob on mac (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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/alexa1-10000.py ('k') | tools/perf/page_sets/top_desktop_sites_2012Q3.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/page_sets/key_desktop_move_cases.py
diff --git a/tools/perf/page_sets/key_desktop_move_cases.py b/tools/perf/page_sets/key_desktop_move_cases.py
index ded7d62931674bca3d0cf17f16db1080ba15c7d0..c322ddf93907748eb5160655a5119061c58755f1 100644
--- a/tools/perf/page_sets/key_desktop_move_cases.py
+++ b/tools/perf/page_sets/key_desktop_move_cases.py
@@ -103,11 +103,10 @@ class GoogleMapsPage(KeyDesktopMoveCasesPage):
def RunPageInteractions(self, action_runner):
for _ in range(3):
action_runner.Wait(2)
- interaction = action_runner.BeginGestureInteraction(
- 'DragAction', repeatable=True)
- action_runner.DragPage(left_start_ratio=0.5, top_start_ratio=0.75,
- left_end_ratio=0.75, top_end_ratio=0.5)
- interaction.End()
+ with action_runner.CreateGestureInteraction(
+ 'DragAction', repeatable=True):
+ action_runner.DragPage(left_start_ratio=0.5, top_start_ratio=0.75,
+ left_end_ratio=0.75, top_end_ratio=0.5)
# TODO(ssid): Add zoom gestures after fixing bug crbug.com/462214.
« no previous file with comments | « tools/perf/page_sets/alexa1-10000.py ('k') | tools/perf/page_sets/top_desktop_sites_2012Q3.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698