| 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 | 4 |
| 5 from telemetry import story | 5 from telemetry import story |
| 6 | 6 |
| 7 from page_sets import polymer | 7 from page_sets import polymer |
| 8 | 8 |
| 9 class PaperCalculatorHitTest(polymer.PolymerPage): | 9 class PaperCalculatorHitTest(polymer.PolymerPage): |
| 10 | 10 |
| (...skipping 22 matching lines...) Expand all Loading... |
| 33 self.TapButton(action_runner) | 33 self.TapButton(action_runner) |
| 34 | 34 |
| 35 def TapButton(self, action_runner): | 35 def TapButton(self, action_runner): |
| 36 with action_runner.CreateInteraction('Action_TapAction'): | 36 with action_runner.CreateInteraction('Action_TapAction'): |
| 37 action_runner.TapElement(element_function='''window.__tapTarget''') | 37 action_runner.TapElement(element_function='''window.__tapTarget''') |
| 38 | 38 |
| 39 | 39 |
| 40 class KeyHitTestCasesPageSet(story.StorySet): | 40 class KeyHitTestCasesPageSet(story.StorySet): |
| 41 | 41 |
| 42 def __init__(self): | 42 def __init__(self): |
| 43 super(KeyHitTestCasesPageSet, self).__init__(verify_names=True) | 43 super(KeyHitTestCasesPageSet, self).__init__() |
| 44 | 44 |
| 45 self.AddStory(PaperCalculatorHitTest(self)) | 45 self.AddStory(PaperCalculatorHitTest(self)) |
| OLD | NEW |