Chromium Code Reviews| Index: tools/perf/page_sets/top_pages.py |
| diff --git a/tools/perf/page_sets/top_pages.py b/tools/perf/page_sets/top_pages.py |
| index 582cf986c3730dc44f3ddabebf83542cf59e1f6e..9507c61363bdb573f8e5bbe4076a481397368f82 100644 |
| --- a/tools/perf/page_sets/top_pages.py |
| +++ b/tools/perf/page_sets/top_pages.py |
| @@ -98,6 +98,27 @@ class GoogleDocPage(TopPages): |
| action_runner.WaitForJavaScriptCondition( |
| 'document.getElementsByClassName("kix-appview-editor").length') |
| +# Disabled on android since the desktop record of maps doesn't load in android. |
|
Sami
2015/03/02 14:03:56
Please move this comment to CanRunOnBrowser
ssid
2015/03/02 20:09:41
Done.
|
| +class GoogleMapsPage(TopPages): |
| + |
| + """ Why: productivity, top google properties; Supports drag gesturee """ |
| + |
| + def __init__(self, page_set): |
| + super(GoogleMapsPage, self).__init__( |
| + url='https://www.google.co.uk/maps/@51.5043968,-0.1526806', |
| + page_set=page_set, |
| + name='Maps') |
| + |
| + def RunNavigateSteps(self, action_runner): |
| + super(GoogleMapsPage, self).RunNavigateSteps(action_runner) |
| + action_runner.WaitForElement(selector='.widget-scene-canvas') |
| + action_runner.WaitForElement(selector='.widget-zoom-in') |
| + action_runner.WaitForElement(selector='.widget-zoom-out') |
| + |
| + def CanRunOnBrowser(self, browser_info): |
| + return (browser_info._browser._platform_backend.platform.GetOSName() != |
| + 'android') |
| + |
| class GooglePlusPage(TopPages): |