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

Unified Diff: ui/events/mojo/latency_info_struct_traits.h

Issue 2771053003: WIP: Plumbing input event latency reporting through Mus GPU.
Patch Set: Created 3 years, 9 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
Index: ui/events/mojo/latency_info_struct_traits.h
diff --git a/ui/events/mojo/latency_info_struct_traits.h b/ui/events/mojo/latency_info_struct_traits.h
index a46905cb5f9c88225cd0b41c79d836c775939fde..62205308b05499bd6b9c134c4ffd373e5b904ba9 100644
--- a/ui/events/mojo/latency_info_struct_traits.h
+++ b/ui/events/mojo/latency_info_struct_traits.h
@@ -46,6 +46,10 @@ struct StructTraits<ui::mojom::LatencyComponentDataView,
const ui::LatencyInfo::LatencyComponent& component);
static uint32_t event_count(
const ui::LatencyInfo::LatencyComponent& component);
+ static base::TimeTicks first_event_time(
+ const ui::LatencyInfo::LatencyComponent& component);
+ static base::TimeTicks last_event_time(
+ const ui::LatencyInfo::LatencyComponent& component);
static bool Read(ui::mojom::LatencyComponentDataView data,
ui::LatencyInfo::LatencyComponent* out);
};

Powered by Google App Engine
This is Rietveld 408576698