| OLD | NEW |
| 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 page_set as page_set_module | 5 from telemetry.page import page_set as page_set_module |
| 6 | 6 |
| 7 | 7 |
| 8 class GpuProcessTestsPage(page_module.Page): | 8 class GpuProcessTestsPage(page_module.Page): |
| 9 | 9 |
| 10 def __init__(self, url, name, page_set): | 10 def __init__(self, url, name, page_set): |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 urls_and_names_list = [ | 41 urls_and_names_list = [ |
| 42 ('file://../../data/gpu/functional_canvas_demo.html', | 42 ('file://../../data/gpu/functional_canvas_demo.html', |
| 43 'GpuProcess.canvas2d'), | 43 'GpuProcess.canvas2d'), |
| 44 ('file://../../data/gpu/functional_3d_css.html', | 44 ('file://../../data/gpu/functional_3d_css.html', |
| 45 'GpuProcess.css3d'), | 45 'GpuProcess.css3d'), |
| 46 ('file://../../data/gpu/functional_webgl.html', | 46 ('file://../../data/gpu/functional_webgl.html', |
| 47 'GpuProcess.webgl') | 47 'GpuProcess.webgl') |
| 48 ] | 48 ] |
| 49 | 49 |
| 50 for url, name in urls_and_names_list: | 50 for url, name in urls_and_names_list: |
| 51 self.AddPage(GpuProcessTestsPage(url, name, self)) | 51 self.AddUserStory(GpuProcessTestsPage(url, name, self)) |
| 52 | 52 |
| 53 self.AddPage(FunctionalVideoPage(self)) | 53 self.AddUserStory(FunctionalVideoPage(self)) |
| OLD | NEW |