| 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 # pylint: disable=W0401,W0614 | |
| 5 from telemetry.page.actions.all_page_actions import * | |
| 6 from telemetry.page import page as page_module | 4 from telemetry.page import page as page_module |
| 7 from telemetry.page import page_set as page_set_module | 5 from telemetry.page import page_set as page_set_module |
| 8 | 6 |
| 9 | 7 |
| 10 class ToughSchedulingCasesPage(page_module.Page): | 8 class ToughSchedulingCasesPage(page_module.Page): |
| 11 | 9 |
| 12 def __init__(self, url, page_set): | 10 def __init__(self, url, page_set): |
| 13 super(ToughSchedulingCasesPage, self).__init__(url=url, page_set=page_set) | 11 super(ToughSchedulingCasesPage, self).__init__(url=url, page_set=page_set) |
| 14 | 12 |
| 15 def RunSmoothness(self, action_runner): | 13 def RunSmoothness(self, action_runner): |
| (...skipping 444 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 460 # Why: Scroll bounce with slow handler on desktop, blocks only once until | 458 # Why: Scroll bounce with slow handler on desktop, blocks only once until |
| 461 # ACK timeout. | 459 # ACK timeout. |
| 462 self.AddPage(EmptyTouchHandlerPage( | 460 self.AddPage(EmptyTouchHandlerPage( |
| 463 name='bounce_desktop_slow_handler', | 461 name='bounce_desktop_slow_handler', |
| 464 desktop=True, | 462 desktop=True, |
| 465 slow_handler=True, | 463 slow_handler=True, |
| 466 bounce=True, | 464 bounce=True, |
| 467 page_set=self)) | 465 page_set=self)) |
| 468 # Why: For measuring the latency of scroll-synchronized effects. | 466 # Why: For measuring the latency of scroll-synchronized effects. |
| 469 self.AddPage(SynchronizedScrollOffsetPage(page_set=self)) | 467 self.AddPage(SynchronizedScrollOffsetPage(page_set=self)) |
| OLD | NEW |