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

Unified Diff: ui/latency/latency_info.h

Issue 2804693002: Remove coordinates from LatencyInfo objects. (Closed)
Patch Set: Fix mojo latencyInfo 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
« no previous file with comments | « ui/latency/ipc/latency_info_param_traits_unittest.cc ('k') | ui/latency/latency_info.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/latency/latency_info.h
diff --git a/ui/latency/latency_info.h b/ui/latency/latency_info.h
index 600f8745cd20e61cd800707c3a89d9a17b6e9e08..9c4ca233b598e557e6297a92032fdd50f798683f 100644
--- a/ui/latency/latency_info.h
+++ b/ui/latency/latency_info.h
@@ -202,13 +202,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 {
@@ -234,8 +227,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.
@@ -243,10 +234,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.
« no previous file with comments | « ui/latency/ipc/latency_info_param_traits_unittest.cc ('k') | ui/latency/latency_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698