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

Unified Diff: ui/latency/latency_info.h

Issue 2804693002: Remove coordinates from LatencyInfo objects. (Closed)
Patch Set: Fix fuzzer test 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 side-by-side diff with in-line comments
Download patch
Index: ui/latency/latency_info.h
diff --git a/ui/latency/latency_info.h b/ui/latency/latency_info.h
index f34e09ac8ea47f67560820c47c1ed3e261576b0e..daa86f8f05d2db0968b74011264f3ddd88f99ead 100644
--- a/ui/latency/latency_info.h
+++ b/ui/latency/latency_info.h
@@ -195,13 +195,6 @@ class LatencyInfo {
void RemoveLatency(LatencyComponentType type);
- // Returns true if there is still room for keeping the |input_coordinate|,
- // false otherwise.
- bool AddInputCoordinate(const gfx::PointF& input_coordinate);
-
- uint32_t input_coordinates_size() const { return input_coordinates_size_; }
- const gfx::PointF* input_coordinates() const { return input_coordinates_; }
-
const LatencyMap& latency_components() const { return latency_components_; }
const SourceEventType& source_event_type() const {
@@ -227,8 +220,6 @@ class LatencyInfo {
// Converts latencyinfo into format that can be dumped into trace buffer.
std::unique_ptr<base::trace_event::ConvertableToTraceFormat>
AsTraceableData();
- std::unique_ptr<base::trace_event::ConvertableToTraceFormat>
- CoordinatesAsTraceableData();
// Shown as part of the name of the trace event for this LatencyInfo.
// String is empty if no tracing is enabled.
@@ -236,10 +227,6 @@ class LatencyInfo {
LatencyMap latency_components_;
- // These coordinates represent window coordinates of the original input event.
- uint32_t input_coordinates_size_;
- gfx::PointF input_coordinates_[kMaxInputCoordinates];
-
// The unique id for matching the ASYNC_BEGIN/END trace event.
int64_t trace_id_;
// Whether this event has been coalesced into another event.

Powered by Google App Engine
This is Rietveld 408576698