| 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 measurements import smooth_gesture_util | |
| 5 | 4 |
| 6 from telemetry.core.platform import tracing_category_filter | 5 from telemetry.core.platform import tracing_category_filter |
| 7 from telemetry.core.platform import tracing_options | 6 from telemetry.core.platform import tracing_options |
| 7 from telemetry.page.actions import action_runner |
| 8 from telemetry.timeline.model import TimelineModel | 8 from telemetry.timeline.model import TimelineModel |
| 9 from telemetry.page.actions import action_runner | |
| 10 from telemetry.value import trace | 9 from telemetry.value import trace |
| 11 from telemetry.web_perf import timeline_interaction_record as tir_module | 10 from telemetry.web_perf import timeline_interaction_record as tir_module |
| 12 | 11 |
| 12 from measurements import smooth_gesture_util |
| 13 |
| 13 | 14 |
| 14 RUN_SMOOTH_ACTIONS = 'RunSmoothAllActions' | 15 RUN_SMOOTH_ACTIONS = 'RunSmoothAllActions' |
| 15 | 16 |
| 16 | 17 |
| 17 class TimelineController(object): | 18 class TimelineController(object): |
| 18 def __init__(self): | 19 def __init__(self): |
| 19 super(TimelineController, self).__init__() | 20 super(TimelineController, self).__init__() |
| 20 self.trace_categories = None | 21 self.trace_categories = None |
| 21 self._model = None | 22 self._model = None |
| 22 self._renderer_process = None | 23 self._renderer_process = None |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 def model(self): | 90 def model(self): |
| 90 return self._model | 91 return self._model |
| 91 | 92 |
| 92 @property | 93 @property |
| 93 def renderer_process(self): | 94 def renderer_process(self): |
| 94 return self._renderer_process | 95 return self._renderer_process |
| 95 | 96 |
| 96 @property | 97 @property |
| 97 def smooth_records(self): | 98 def smooth_records(self): |
| 98 return self._smooth_records | 99 return self._smooth_records |
| OLD | NEW |