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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 interaction.End() | 86 interaction.End() |
87 | 87 |
88 | 88 |
89 class Top25SmoothPageSet(page_set_module.PageSet): | 89 class Top25SmoothPageSet(page_set_module.PageSet): |
90 | 90 |
91 """ Pages hand-picked for 2012 CrOS scrolling tuning efforts. """ | 91 """ Pages hand-picked for 2012 CrOS scrolling tuning efforts. """ |
92 | 92 |
93 def __init__(self): | 93 def __init__(self): |
94 super(Top25SmoothPageSet, self).__init__( | 94 super(Top25SmoothPageSet, self).__init__( |
95 user_agent_type='desktop', | 95 user_agent_type='desktop', |
96 archive_data_file='data/top_25.json', | 96 archive_data_file='data/top_25_smooth.json', |
97 bucket=page_set_module.PARTNER_BUCKET) | 97 bucket=page_set_module.PARTNER_BUCKET) |
98 | 98 |
99 self.AddUserStory(_CreatePageClassWithSmoothInteractions( | 99 self.AddUserStory(_CreatePageClassWithSmoothInteractions( |
100 top_pages.GoogleWebSearchPage)(self)) | 100 top_pages.GoogleWebSearchPage)(self)) |
101 self.AddUserStory(GmailSmoothPage(self)) | 101 self.AddUserStory(GmailSmoothPage(self)) |
102 self.AddUserStory(GoogleCalendarSmoothPage(self)) | 102 self.AddUserStory(GoogleCalendarSmoothPage(self)) |
103 self.AddUserStory(_CreatePageClassWithSmoothInteractions( | 103 self.AddUserStory(_CreatePageClassWithSmoothInteractions( |
104 top_pages.GoogleImageSearchPage)(self)) | 104 top_pages.GoogleImageSearchPage)(self)) |
105 self.AddUserStory(GoogleDocSmoothPage(self)) | 105 self.AddUserStory(GoogleDocSmoothPage(self)) |
106 self.AddUserStory(_CreatePageClassWithSmoothInteractions( | 106 self.AddUserStory(_CreatePageClassWithSmoothInteractions( |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 # Why: #1 Alexa reference | 142 # Why: #1 Alexa reference |
143 'http://answers.yahoo.com', | 143 'http://answers.yahoo.com', |
144 # Why: #1 Alexa sports | 144 # Why: #1 Alexa sports |
145 'http://sports.yahoo.com/', | 145 'http://sports.yahoo.com/', |
146 # Why: top tech blog | 146 # Why: top tech blog |
147 'http://techcrunch.com' | 147 'http://techcrunch.com' |
148 ] | 148 ] |
149 | 149 |
150 for url in other_urls: | 150 for url in other_urls: |
151 self.AddUserStory(TopSmoothPage(url, self)) | 151 self.AddUserStory(TopSmoothPage(url, self)) |
OLD | NEW |