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

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

Issue 2555853003: Break up common_custom_types.mojom. (Closed)
Patch Set: Created 4 years 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
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/common_custom_types.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 {
11 // ---------------------------BEGIN COMPONENT------------------------------- 11 // ---------------------------BEGIN COMPONENT-------------------------------
12 // BEGIN COMPONENT is when we show the latency begin in chrome://tracing. 12 // BEGIN COMPONENT is when we show the latency begin in chrome://tracing.
13 // Timestamp when the input event is sent from RenderWidgetHost to renderer. 13 // Timestamp when the input event is sent from RenderWidgetHost to renderer.
14 INPUT_EVENT_LATENCY_BEGIN_RWH_COMPONENT, 14 INPUT_EVENT_LATENCY_BEGIN_RWH_COMPONENT,
15 // In threaded scrolling, main thread scroll listener update is async to 15 // In threaded scrolling, main thread scroll listener update is async to
16 // scroll processing in impl thread. This is the timestamp when we consider 16 // scroll processing in impl thread. This is the timestamp when we consider
17 // the main thread scroll listener update is begun. 17 // the main thread scroll listener update is begun.
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 110
111 // See ui/events/latency_info.h 111 // See ui/events/latency_info.h
112 struct LatencyInfo { 112 struct LatencyInfo {
113 string trace_name; 113 string trace_name;
114 array<LatencyComponentPair> latency_components; 114 array<LatencyComponentPair> latency_components;
115 array<gfx.mojom.PointF> input_coordinates; 115 array<gfx.mojom.PointF> input_coordinates;
116 int64 trace_id; 116 int64 trace_id;
117 bool coalesced; 117 bool coalesced;
118 bool terminated; 118 bool terminated;
119 }; 119 };
OLDNEW
« no previous file with comments | « third_party/WebKit/public/platform/modules/mediasession/media_session.mojom ('k') | ui/message_center/mojo/notification.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698