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

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

Issue 2048673002: Revert of Replace ui::LatencyInfo::InputCoordinate with gfx::PointF (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 034896ba789daa255f700b4d4a43901750f449c9..d284e50fb00a64367ba6c4ca37c5b1aa6f1c9bfb 100644
--- a/ui/events/mojo/latency_info.mojom
+++ b/ui/events/mojo/latency_info.mojom
@@ -5,7 +5,6 @@
module ui.mojom;
import "mojo/common/common_custom_types.mojom";
-import "ui/gfx/geometry/mojo/geometry.mojom";
enum LatencyComponentType {
// ---------------------------BEGIN COMPONENT-------------------------------
@@ -108,11 +107,18 @@
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<gfx.mojom.PointF> input_coordinates;
+ array<InputCoordinate> 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