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..f85d00282b5fe2438a4e17c589a98cb78e6c0dc9 100644 |
| --- a/tools/perf/page_sets/top_pages.py |
| +++ b/tools/perf/page_sets/top_pages.py |
| @@ -98,6 +98,23 @@ class GoogleDocPage(TopPages): |
| action_runner.WaitForJavaScriptCondition( |
| 'document.getElementsByClassName("kix-appview-editor").length') |
| +# Disabled on android since the desktop record of maps don't load in android. |
|
Sami
2015/02/27 15:33:06
nit: s/don't/doesn't/
ssid
2015/03/02 12:03:27
Done.
|
| +class GoogleMapsPage(TopPages): |
| + |
| + """ Why: productivity, top google properties; drag and drop anywhere """ |
|
Sami
2015/02/27 15:33:06
Same question about the last part of this.
ssid
2015/03/02 12:03:28
Done.
|
| + |
| + 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 CanRunOnBrowser(self, browser_info): |
| + if (browser_info._browser._platform_backend.platform.GetOSName() == |
|
Sami
2015/02/27 15:33:06
nit: this could be shortened to return ... GetOSNa
ssid
2015/03/02 12:03:28
Done.
|
| + 'android'): |
| + return False |
| + return True; |
| + |
| class GooglePlusPage(TopPages): |