| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 module ui.mojom; | 5 module ui.mojom; |
| 6 | 6 |
| 7 import "mojo/common/time.mojom"; | 7 import "mojo/common/time.mojom"; |
| 8 import "ui/gfx/geometry/mojo/geometry.mojom"; | 8 import "ui/gfx/geometry/mojo/geometry.mojom"; |
| 9 | 9 |
| 10 enum LatencyComponentType { | 10 enum LatencyComponentType { |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 mojo.common.mojom.TimeTicks first_event_time; | 93 mojo.common.mojom.TimeTicks first_event_time; |
| 94 // Time of the most recent event that happened in this component. | 94 // Time of the most recent event that happened in this component. |
| 95 mojo.common.mojom.TimeTicks last_event_time; | 95 mojo.common.mojom.TimeTicks last_event_time; |
| 96 }; | 96 }; |
| 97 | 97 |
| 98 struct LatencyComponentPair { | 98 struct LatencyComponentPair { |
| 99 LatencyComponentId key; | 99 LatencyComponentId key; |
| 100 LatencyComponent value; | 100 LatencyComponent value; |
| 101 }; | 101 }; |
| 102 | 102 |
| 103 // See ui/events/latency_info.h | 103 // See ui/latency/latency_info.h |
| 104 struct LatencyInfo { | 104 struct LatencyInfo { |
| 105 string trace_name; | 105 string trace_name; |
| 106 array<LatencyComponentPair> latency_components; | 106 array<LatencyComponentPair> latency_components; |
| 107 array<gfx.mojom.PointF> input_coordinates; | 107 array<gfx.mojom.PointF> input_coordinates; |
| 108 int64 trace_id; | 108 int64 trace_id; |
| 109 bool coalesced; | 109 bool coalesced; |
| 110 bool terminated; | 110 bool terminated; |
| 111 }; | 111 }; |
| OLD | NEW |