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

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

Issue 826113003: [Telemetry] Rename RunSmoothness to RunPageInteractions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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 d58e0ca4e4f32a40217e9d2e4584bb0fcb2743ea..36178c5f462a07b5c8326a7bd795f7e360c2672f 100644
--- a/tools/perf/page_sets/key_mobile_sites_smooth.py
+++ b/tools/perf/page_sets/key_mobile_sites_smooth.py
@@ -17,7 +17,7 @@ def _IssueMarkerAndScroll(action_runner):
def _CreatePageClassWithSmoothInteractions(page_cls):
class DerivedSmoothPage(page_cls): # pylint: disable=W0232
- def RunSmoothness(self, action_runner):
+ def RunPageInteractions(self, action_runner):
_IssueMarkerAndScroll(action_runner)
return DerivedSmoothPage
@@ -31,13 +31,13 @@ class KeyMobileSitesSmoothPage(page_module.Page):
self.user_agent_type = 'mobile'
self.archive_data_file = 'data/key_mobile_sites.json'
- def RunSmoothness(self, action_runner):
+ def RunPageInteractions(self, action_runner):
_IssueMarkerAndScroll(action_runner)
class GmailSmoothPage(key_mobile_sites_pages.GmailPage):
- def RunSmoothness(self, action_runner):
+ def RunPageInteractions(self, action_runner):
interaction = action_runner.BeginGestureInteraction(
'ScrollAction', is_smooth=True)
action_runner.ScrollElement(element_function=(
@@ -52,7 +52,7 @@ class GmailSmoothPage(key_mobile_sites_pages.GmailPage):
class GroupClonedSmoothPage(key_mobile_sites_pages.GroupClonedPage):
- def RunSmoothness(self, action_runner):
+ def RunPageInteractions(self, action_runner):
interaction = action_runner.BeginGestureInteraction(
'ScrollAction', is_smooth=True)
action_runner.ScrollPage(
@@ -68,7 +68,7 @@ class GroupClonedSmoothPage(key_mobile_sites_pages.GroupClonedPage):
class GroupClonedListImagesPage(
key_mobile_sites_pages.GroupClonedListImagesPage):
- def RunSmoothness(self, action_runner):
+ def RunPageInteractions(self, action_runner):
interaction = action_runner.BeginGestureInteraction(
'ScrollAction', is_smooth=True)
action_runner.ScrollPage(
@@ -82,7 +82,7 @@ class GroupClonedListImagesPage(
class GoogleNewsMobile2SmoothPage(
key_mobile_sites_pages.GoogleNewsMobile2Page):
- def RunSmoothness(self, action_runner):
+ def RunPageInteractions(self, action_runner):
interaction = action_runner.BeginGestureInteraction(
'ScrollAction', is_smooth=True)
action_runner.ScrollElement(
@@ -97,7 +97,7 @@ class GoogleNewsMobile2SmoothPage(
class AmazonNicolasCageSmoothPage(
key_mobile_sites_pages.AmazonNicolasCagePage):
- def RunSmoothness(self, action_runner):
+ def RunPageInteractions(self, action_runner):
interaction = action_runner.BeginGestureInteraction(
'ScrollAction', is_smooth=True)
action_runner.ScrollElement(
« 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