Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8)

Side by Side Diff: ui/latency/mojo/latency_info.mojom

Issue 2783973002: Moving LatencyInfo into a separate component. (Closed)
Patch Set: Rebase again Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ui/latency/mojo/OWNERS ('k') | ui/latency/mojo/latency_info.typemap » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 };
OLDNEW
« no previous file with comments | « ui/latency/mojo/OWNERS ('k') | ui/latency/mojo/latency_info.typemap » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698