Fix OOP <webview> resize and autosize.
[chromium-blink-merge.git] / tools / perf / page_sets / page_cycler / dhtml.py
blobe14fdf453f3899a9c3fcfafbed7d2c77ba4daa6e
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 class DhtmlPage(page_module.Page):
10 def __init__(self, url, page_set):
11 super(DhtmlPage, self).__init__(url=url, page_set=page_set)
14 class DhtmlPageSet(story.StorySet):
16 """ DHTML page_cycler benchmark """
18 def __init__(self):
19 super(DhtmlPageSet, self).__init__(
20 # pylint: disable=C0301
21 serving_dirs=set(['../../../../data/page_cycler/dhtml']),
22 cloud_storage_bucket=story.PARTNER_BUCKET)
24 urls_list = [
25 'file://../../../../data/page_cycler/dhtml/colorfade/',
26 'file://../../../../data/page_cycler/dhtml/diagball/',
27 'file://../../../../data/page_cycler/dhtml/fadespacing/',
28 'file://../../../../data/page_cycler/dhtml/imageslide/',
29 'file://../../../../data/page_cycler/dhtml/layers1/',
30 'file://../../../../data/page_cycler/dhtml/layers2/',
31 'file://../../../../data/page_cycler/dhtml/layers4/',
32 'file://../../../../data/page_cycler/dhtml/layers5/',
33 'file://../../../../data/page_cycler/dhtml/layers6/',
34 'file://../../../../data/page_cycler/dhtml/meter/',
35 'file://../../../../data/page_cycler/dhtml/movingtext/',
36 'file://../../../../data/page_cycler/dhtml/mozilla/',
37 'file://../../../../data/page_cycler/dhtml/replaceimages/',
38 'file://../../../../data/page_cycler/dhtml/scrolling/',
39 'file://../../../../data/page_cycler/dhtml/slidein/',
40 'file://../../../../data/page_cycler/dhtml/slidingballs/',
41 'file://../../../../data/page_cycler/dhtml/zoom/'
44 for url in urls_list:
45 self.AddStory(DhtmlPage(url, self))