| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 from telemetry.page import page as page_module | 4 from telemetry.page import page as page_module |
| 5 from telemetry.page import page_set as page_set_module | 5 from telemetry.page import page_set as page_set_module |
| 6 | 6 |
| 7 from page_sets import top_pages | 7 from page_sets import top_pages |
| 8 | 8 |
| 9 | 9 |
| 10 def _IssueMarkerAndScroll(action_runner): | 10 def _IssueMarkerAndScroll(action_runner): |
| (...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 156 | 156 |
| 157 def __init__(self): | 157 def __init__(self): |
| 158 super(Top25SmoothPageSet, self).__init__( | 158 super(Top25SmoothPageSet, self).__init__( |
| 159 user_agent_type='desktop', | 159 user_agent_type='desktop', |
| 160 archive_data_file='data/top_25_smooth.json', | 160 archive_data_file='data/top_25_smooth.json', |
| 161 bucket=page_set_module.PARTNER_BUCKET) | 161 bucket=page_set_module.PARTNER_BUCKET) |
| 162 | 162 |
| 163 self.AddUserStory(_CreatePageClassWithSmoothInteractions( | 163 self.AddUserStory(_CreatePageClassWithSmoothInteractions( |
| 164 top_pages.GoogleWebSearchPage)(self)) | 164 top_pages.GoogleWebSearchPage)(self)) |
| 165 self.AddUserStory(GmailSmoothPage(self)) | 165 self.AddUserStory(GmailSmoothPage(self)) |
| 166 self.AddUserStory(GmailMouseScrollPage(self)) | 166 # crbug.com/465446 |
| 167 # self.AddUserStory(GmailMouseScrollPage(self)) |
| 167 self.AddUserStory(GoogleCalendarSmoothPage(self)) | 168 self.AddUserStory(GoogleCalendarSmoothPage(self)) |
| 168 self.AddUserStory(_CreatePageClassWithSmoothInteractions( | 169 self.AddUserStory(_CreatePageClassWithSmoothInteractions( |
| 169 top_pages.GoogleImageSearchPage)(self)) | 170 top_pages.GoogleImageSearchPage)(self)) |
| 170 self.AddUserStory(GoogleDocSmoothPage(self)) | 171 self.AddUserStory(GoogleDocSmoothPage(self)) |
| 171 self.AddUserStory(_CreatePageClassWithSmoothInteractions( | 172 self.AddUserStory(_CreatePageClassWithSmoothInteractions( |
| 172 top_pages.GooglePlusPage)(self)) | 173 top_pages.GooglePlusPage)(self)) |
| 173 self.AddUserStory(_CreatePageClassWithSmoothInteractions( | 174 self.AddUserStory(_CreatePageClassWithSmoothInteractions( |
| 174 top_pages.YoutubePage)(self)) | 175 top_pages.YoutubePage)(self)) |
| 175 self.AddUserStory(_CreatePageClassWithSmoothInteractions( | 176 self.AddUserStory(_CreatePageClassWithSmoothInteractions( |
| 176 top_pages.BlogspotPage)(self)) | 177 top_pages.BlogspotPage)(self)) |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 208 # Why: #1 Alexa reference | 209 # Why: #1 Alexa reference |
| 209 'http://answers.yahoo.com', | 210 'http://answers.yahoo.com', |
| 210 # Why: #1 Alexa sports | 211 # Why: #1 Alexa sports |
| 211 'http://sports.yahoo.com/', | 212 'http://sports.yahoo.com/', |
| 212 # Why: top tech blog | 213 # Why: top tech blog |
| 213 'http://techcrunch.com' | 214 'http://techcrunch.com' |
| 214 ] | 215 ] |
| 215 | 216 |
| 216 for url in other_urls: | 217 for url in other_urls: |
| 217 self.AddUserStory(TopSmoothPage(url, self)) | 218 self.AddUserStory(TopSmoothPage(url, self)) |
| OLD | NEW |