Fix OOP <webview> resize and autosize.
[chromium-blink-merge.git] / tools / perf / page_sets / intl_hi_ru.py
blob90ade74c4f66a32fa4ce42fc3513c238c6e93fd5
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.page import shared_page_state
6 from telemetry import story
9 class IntlHiRuPage(page_module.Page):
11 def __init__(self, url, page_set):
12 super(IntlHiRuPage, self).__init__(
13 url=url, page_set=page_set,
14 shared_page_state_class=shared_page_state.SharedDesktopPageState)
15 self.archive_data_file = 'data/intl_hi_ru.json'
18 class IntlHiRuPageSet(story.StorySet):
20 """ Popular pages in Hindi and Russian. """
22 def __init__(self):
23 super(IntlHiRuPageSet, self).__init__(
24 archive_data_file='data/intl_hi_ru.json',
25 cloud_storage_bucket=story.PARTNER_BUCKET)
27 urls_list = [
28 # Why: #12 site in Russia
29 'http://www.rambler.ru/',
30 'http://apeha.ru/',
31 # pylint: disable=C0301
32 'http://yandex.ru/yandsearch?lr=102567&text=%D0%9F%D0%BE%D0%B3%D0%BE%D0%B4%D0%B0',
33 'http://photofile.ru/',
34 'http://ru.wikipedia.org/',
35 'http://narod.yandex.ru/',
36 # Why: #15 in Russia
37 'http://rutracker.org/forum/index.php',
38 'http://hindi.webdunia.com/',
39 # Why: #49 site in India
40 'http://hindi.oneindia.in/',
41 # Why: #9 site in India
42 'http://www.indiatimes.com/',
43 # Why: #2 site in India
44 'http://news.google.co.in/nwshp?tab=in&hl=hi'
47 for url in urls_list:
48 self.AddStory(IntlHiRuPage(url, self))