Fix OOP <webview> resize and autosize.
[chromium-blink-merge.git] / tools / perf / page_sets / five_blank_pages.py
blob6b34f3dd4a7cad0183cc2a19de033dfc3e6c07d5
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
3 # found in the LICENSE file.
4 from telemetry.page import page as page_module
5 from telemetry import story
8 # The PageSet searches for pages relative to the directory the page class is
9 # defined in so we need to subclass here.
10 class BlankPage(page_module.Page):
11 pass
14 class FiveBlankPagesPageSet(story.StorySet):
16 """ Five blank pages. """
18 def __init__(self):
19 super(FiveBlankPagesPageSet, self).__init__()
20 for _ in xrange(5):
21 self.AddStory(BlankPage('file://blank_page/blank_page.html', self))