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

Unified Diff: tools/perf/page_sets/key_mobile_sites_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/key_hit_test_cases.py ('k') | tools/perf/page_sets/key_search_mobile.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/page_sets/key_mobile_sites_smooth.py
diff --git a/tools/perf/page_sets/key_mobile_sites_smooth.py b/tools/perf/page_sets/key_mobile_sites_smooth.py
index 7b95d799e7ab2985f5e29aac54bbf501ae424530..1256897165e2a42fe43368519f6e27bd81dcb7e8 100644
--- a/tools/perf/page_sets/key_mobile_sites_smooth.py
+++ b/tools/perf/page_sets/key_mobile_sites_smooth.py
@@ -9,7 +9,7 @@ from page_sets import key_mobile_sites_pages
def _IssueMarkerAndScroll(action_runner):
interaction = action_runner.BeginGestureInteraction(
- 'ScrollAction', is_smooth=True)
+ 'ScrollAction')
action_runner.ScrollPage()
interaction.End()
@@ -74,12 +74,12 @@ class GmailSmoothPage(key_mobile_sites_pages.GmailPage):
def RunPageInteractions(self, action_runner):
interaction = action_runner.BeginGestureInteraction(
- 'ScrollAction', is_smooth=True)
+ 'ScrollAction')
action_runner.ScrollElement(element_function=(
'document.getElementById("views").childNodes[1].firstChild'))
interaction.End()
interaction = action_runner.BeginGestureInteraction(
- 'ScrollAction', is_smooth=True)
+ 'ScrollAction')
action_runner.ScrollElement(element_function=(
'document.getElementById("views").childNodes[1].firstChild'))
interaction.End()
@@ -89,7 +89,7 @@ class GroupClonedSmoothPage(key_mobile_sites_pages.GroupClonedPage):
def RunPageInteractions(self, action_runner):
interaction = action_runner.BeginGestureInteraction(
- 'ScrollAction', is_smooth=True)
+ 'ScrollAction')
action_runner.ScrollPage(
distance_expr='''
Math.max(0, 1250 + document.getElementById("element-19")
@@ -105,7 +105,7 @@ class GroupClonedListImagesPage(
def RunPageInteractions(self, action_runner):
interaction = action_runner.BeginGestureInteraction(
- 'ScrollAction', is_smooth=True)
+ 'ScrollAction')
action_runner.ScrollPage(
distance_expr='''
Math.max(0, 1250 +
@@ -119,7 +119,7 @@ class GoogleNewsMobile2SmoothPage(
def RunPageInteractions(self, action_runner):
interaction = action_runner.BeginGestureInteraction(
- 'ScrollAction', is_smooth=True)
+ 'ScrollAction')
action_runner.ScrollElement(
element_function='document.getElementById(":5")',
distance_expr='''
@@ -134,7 +134,7 @@ class AmazonNicolasCageSmoothPage(
def RunPageInteractions(self, action_runner):
interaction = action_runner.BeginGestureInteraction(
- 'ScrollAction', is_smooth=True)
+ 'ScrollAction')
action_runner.ScrollElement(
selector='#search',
distance_expr='document.body.scrollHeight - window.innerHeight')
« no previous file with comments | « tools/perf/page_sets/key_hit_test_cases.py ('k') | tools/perf/page_sets/key_search_mobile.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698