Plumb scroll elasticity layer from Blink to cc
[chromium-blink-merge.git] / tools / perf / page_sets / topeka.py
blob7fecf5643b0ced47699a6acbfb82e3dd4f570e8e
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_set as page_set_module
5 from measurements import polymer_load
8 class TopekaPage(polymer_load.PageForPolymerLoad):
10 def __init__(self, page_set):
11 super(TopekaPage, self).__init__(
12 url='http://www.polymer-project.org/apps/topeka/?test',
13 ready_event='template-bound',
14 page_set=page_set)
15 self.archive_data_file = 'data/topeka.json'
18 class TopekaPageSet(page_set_module.PageSet):
20 """ Topeka quiz app for the Polymer UI toolkit """
22 def __init__(self):
23 super(TopekaPageSet, self).__init__(
24 user_agent_type='mobile',
25 archive_data_file='data/topeka.json')
27 self.AddPage(TopekaPage(self))