| 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)
|
|
|