Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(78)

Side by Side Diff: tools/perf/page_sets/key_mobile_sites_repaint.py

Issue 1458083003: [Telemetry + tools/perf] Modify the pylint disable message to use symbolic name (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 shared_page_state 5 from telemetry.page import shared_page_state
6 from telemetry import story 6 from telemetry import story
7 7
8 from page_sets import key_mobile_sites_pages 8 from page_sets import key_mobile_sites_pages
9 from page_sets import repaint_helpers 9 from page_sets import repaint_helpers
10 10
11 11
12 12
13 def _CreatePageClassWithRepaintInteractions(page_cls, mode, height, width): 13 def _CreatePageClassWithRepaintInteractions(page_cls, mode, height, width):
14 class DerivedRepaintPage(page_cls): # pylint: disable=W0232 14 class DerivedRepaintPage(page_cls): # pylint: disable=no-init
15 15
16 def RunPageInteractions(self, action_runner): 16 def RunPageInteractions(self, action_runner):
17 repaint_helpers.Repaint( 17 repaint_helpers.Repaint(
18 action_runner, mode=mode, width=width, height=height) 18 action_runner, mode=mode, width=width, height=height)
19 19
20 return DerivedRepaintPage 20 return DerivedRepaintPage
21 21
22 22
23 class KeyMobileSitesRepaintPage(page_module.Page): 23 class KeyMobileSitesRepaintPage(page_module.Page):
24 24
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 'rsv_sug=0&rsv_sug4=3824&rsv_sug1=3&inputT=4920'), 183 'rsv_sug=0&rsv_sug4=3824&rsv_sug1=3&inputT=4920'),
184 # Why: Top search engine 184 # Why: Top search engine
185 'http://www.bing.com/search?q=sloths', 185 'http://www.bing.com/search?q=sloths',
186 # Why: Good example of poor initial scrolling 186 # Why: Good example of poor initial scrolling
187 'http://ftw.usatoday.com/2014/05/spelling-bee-rules-shenanigans' 187 'http://ftw.usatoday.com/2014/05/spelling-bee-rules-shenanigans'
188 ] 188 ]
189 189
190 for url in urls_list: 190 for url in urls_list:
191 self.AddStory(KeyMobileSitesRepaintPage( 191 self.AddStory(KeyMobileSitesRepaintPage(
192 url, self, mode=mode, height=height, width=width)) 192 url, self, mode=mode, height=height, width=width))
OLDNEW
« no previous file with comments | « tools/perf/page_sets/key_mobile_sites_pages.py ('k') | tools/perf/page_sets/key_mobile_sites_smooth.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698