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

Unified Diff: ui/events/mojo/latency_info.mojom

Issue 2039853004: Replace ui::LatencyInfo::InputCoordinate with gfx::PointF (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added missing gyp dep Created 4 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/events/mojo/BUILD.gn ('k') | ui/events/mojo/latency_info.typemap » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/mojo/latency_info.mojom
diff --git a/ui/events/mojo/latency_info.mojom b/ui/events/mojo/latency_info.mojom
index d284e50fb00a64367ba6c4ca37c5b1aa6f1c9bfb..034896ba789daa255f700b4d4a43901750f449c9 100644
--- a/ui/events/mojo/latency_info.mojom
+++ b/ui/events/mojo/latency_info.mojom
@@ -5,6 +5,7 @@
module ui.mojom;
import "mojo/common/common_custom_types.mojom";
+import "ui/gfx/geometry/mojo/geometry.mojom";
enum LatencyComponentType {
// ---------------------------BEGIN COMPONENT-------------------------------
@@ -107,18 +108,11 @@ struct LatencyComponentPair {
LatencyComponent value;
};
-// TODO(fsamuel): We should replace this with gfx.mojom.PointF here and in
-// ui/events/latency_info.h.
-struct InputCoordinate {
- float x;
- float y;
-};
-
// See ui/events/latency_info.h
struct LatencyInfo {
string trace_name;
array<LatencyComponentPair> latency_components;
- array<InputCoordinate> input_coordinates;
+ array<gfx.mojom.PointF> input_coordinates;
int64 trace_id;
bool coalesced;
bool terminated;
« no previous file with comments | « ui/events/mojo/BUILD.gn ('k') | ui/events/mojo/latency_info.typemap » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698