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

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

Issue 1013803003: [Telemetry] Remove is_smooth flag. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix failing test Created 5 years, 9 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/top_10_mobile.py ('k') | tools/perf/page_sets/top_7_stress.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/page_sets/top_25_smooth.py
diff --git a/tools/perf/page_sets/top_25_smooth.py b/tools/perf/page_sets/top_25_smooth.py
index 99edcbfa53ccff481e4c6868aada784e6d81d986..a64617a80e1f2a232470dea2e37920f55dd397e4 100644
--- a/tools/perf/page_sets/top_25_smooth.py
+++ b/tools/perf/page_sets/top_25_smooth.py
@@ -9,7 +9,7 @@ from page_sets import top_pages
def _IssueMarkerAndScroll(action_runner):
interaction = action_runner.BeginGestureInteraction(
- 'ScrollAction', is_smooth=True)
+ 'ScrollAction')
action_runner.ScrollPage()
interaction.End()
@@ -47,7 +47,7 @@ class GmailSmoothPage(top_pages.GmailPage):
action_runner.WaitForJavaScriptCondition(
'window.__scrollableElementForTelemetry != null')
interaction = action_runner.BeginGestureInteraction(
- 'ScrollAction', is_smooth=True)
+ 'ScrollAction')
action_runner.ScrollElement(
element_function='window.__scrollableElementForTelemetry')
interaction.End()
@@ -67,7 +67,7 @@ class GmailMouseScrollPage(top_pages.GmailPage):
scrollbar_x, start_y, end_y = self._CalculateScrollBarRatios(action_runner)
interaction = action_runner.BeginGestureInteraction(
- 'DragAction', is_smooth=True)
+ 'DragAction')
action_runner.DragPage(left_start_ratio=scrollbar_x,
top_start_ratio=start_y, left_end_ratio=scrollbar_x,
top_end_ratio=end_y, speed_in_pixels_per_second=100,
@@ -104,7 +104,7 @@ class GoogleCalendarSmoothPage(top_pages.GoogleCalendarPage):
def RunPageInteractions(self, action_runner):
interaction = action_runner.BeginGestureInteraction(
- 'ScrollAction', is_smooth=True)
+ 'ScrollAction')
action_runner.ScrollElement(selector='#scrolltimedeventswk')
interaction.End()
@@ -115,7 +115,7 @@ class GoogleDocSmoothPage(top_pages.GoogleDocPage):
def RunPageInteractions(self, action_runner):
interaction = action_runner.BeginGestureInteraction(
- 'ScrollAction', is_smooth=True)
+ 'ScrollAction')
action_runner.ScrollElement(selector='.kix-appview-editor')
interaction.End()
@@ -126,13 +126,13 @@ class GoogleMapsPage(top_pages.GoogleMapsPage):
def RunPageInteractions(self, action_runner):
interaction = action_runner.BeginGestureInteraction(
- 'DragAction', is_smooth=True, repeatable=True)
+ '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()
action_runner.Wait(2)
interaction = action_runner.BeginGestureInteraction(
- 'DragAction', is_smooth=True, repeatable=True)
+ 'DragAction', repeatable=True)
action_runner.DragPage(left_start_ratio=0.5, top_start_ratio=0.5,
left_end_ratio=0.35, top_end_ratio=0.75)
interaction.End()
@@ -145,7 +145,7 @@ class ESPNSmoothPage(top_pages.ESPNPage):
def RunPageInteractions(self, action_runner):
interaction = action_runner.BeginGestureInteraction(
- 'ScrollAction', is_smooth=True)
+ 'ScrollAction')
action_runner.ScrollPage(left_start_ratio=0.1)
interaction.End()
« no previous file with comments | « tools/perf/page_sets/top_10_mobile.py ('k') | tools/perf/page_sets/top_7_stress.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698