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

Unified Diff: tools/perf/page_sets/top_25_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/top_10_mobile.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/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 4d56a37190ab4238a8081a96bfb6b8b279507140..cf5d8fc0ae660c0af1d6a3cda70c6e117be62ec6 100644
--- a/tools/perf/page_sets/top_25_smooth.py
+++ b/tools/perf/page_sets/top_25_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,7 +31,7 @@ class TopSmoothPage(page_module.Page):
self.user_agent_type = 'desktop'
self.credentials = credentials
- def RunSmoothness(self, action_runner):
+ def RunPageInteractions(self, action_runner):
_IssueMarkerAndScroll(action_runner)
@@ -39,7 +39,7 @@ class GmailSmoothPage(top_pages.GmailPage):
""" Why: productivity, top google properties """
- def RunSmoothness(self, action_runner):
+ def RunPageInteractions(self, action_runner):
action_runner.ExecuteJavaScript('''
gmonkey.load('2.0', function(api) {
window.__scrollableElementForTelemetry = api.getScrollableElement();
@@ -57,7 +57,7 @@ class GoogleCalendarSmoothPage(top_pages.GoogleCalendarPage):
""" Why: productivity, top google properties """
- def RunSmoothness(self, action_runner):
+ def RunPageInteractions(self, action_runner):
interaction = action_runner.BeginGestureInteraction(
'ScrollAction', is_smooth=True)
action_runner.ScrollElement(selector='#scrolltimedeventswk')
@@ -68,7 +68,7 @@ class GoogleDocSmoothPage(top_pages.GoogleDocPage):
""" Why: productivity, top google properties; Sample doc in the link """
- def RunSmoothness(self, action_runner):
+ def RunPageInteractions(self, action_runner):
interaction = action_runner.BeginGestureInteraction(
'ScrollAction', is_smooth=True)
action_runner.ScrollElement(selector='.kix-appview-editor')
@@ -79,7 +79,7 @@ class ESPNSmoothPage(top_pages.ESPNPage):
""" Why: #1 sports """
- def RunSmoothness(self, action_runner):
+ def RunPageInteractions(self, action_runner):
interaction = action_runner.BeginGestureInteraction(
'ScrollAction', is_smooth=True)
action_runner.ScrollPage(left_start_ratio=0.1)
« no previous file with comments | « tools/perf/page_sets/top_10_mobile.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