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