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 # crbug.com/465446 | 166 self.AddUserStory(GmailMouseScrollPage(self)) |
167 # self.AddUserStory(GmailMouseScrollPage(self)) | |
168 self.AddUserStory(GoogleCalendarSmoothPage(self)) | 167 self.AddUserStory(GoogleCalendarSmoothPage(self)) |
169 self.AddUserStory(_CreatePageClassWithSmoothInteractions( | 168 self.AddUserStory(_CreatePageClassWithSmoothInteractions( |
170 top_pages.GoogleImageSearchPage)(self)) | 169 top_pages.GoogleImageSearchPage)(self)) |
171 self.AddUserStory(GoogleDocSmoothPage(self)) | 170 self.AddUserStory(GoogleDocSmoothPage(self)) |
172 self.AddUserStory(_CreatePageClassWithSmoothInteractions( | 171 self.AddUserStory(_CreatePageClassWithSmoothInteractions( |
173 top_pages.GooglePlusPage)(self)) | 172 top_pages.GooglePlusPage)(self)) |
174 self.AddUserStory(_CreatePageClassWithSmoothInteractions( | 173 self.AddUserStory(_CreatePageClassWithSmoothInteractions( |
175 top_pages.YoutubePage)(self)) | 174 top_pages.YoutubePage)(self)) |
176 self.AddUserStory(_CreatePageClassWithSmoothInteractions( | 175 self.AddUserStory(_CreatePageClassWithSmoothInteractions( |
177 top_pages.BlogspotPage)(self)) | 176 top_pages.BlogspotPage)(self)) |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
209 # Why: #1 Alexa reference | 208 # Why: #1 Alexa reference |
210 'http://answers.yahoo.com', | 209 'http://answers.yahoo.com', |
211 # Why: #1 Alexa sports | 210 # Why: #1 Alexa sports |
212 'http://sports.yahoo.com/', | 211 'http://sports.yahoo.com/', |
213 # Why: top tech blog | 212 # Why: top tech blog |
214 'http://techcrunch.com' | 213 'http://techcrunch.com' |
215 ] | 214 ] |
216 | 215 |
217 for url in other_urls: | 216 for url in other_urls: |
218 self.AddUserStory(TopSmoothPage(url, self)) | 217 self.AddUserStory(TopSmoothPage(url, self)) |
OLD | NEW |