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

Side by Side Diff: content/browser/renderer_host/input/render_widget_host_latency_tracker.h

Issue 1871233002: Move LatencyInfo to ui/latency_info (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix some more gyp issues Created 4 years, 7 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_RENDERER_HOST_INPUT_RENDER_WIDGET_HOST_LATENCY_TRACKER_H _ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_INPUT_RENDER_WIDGET_HOST_LATENCY_TRACKER_H _
6 #define CONTENT_BROWSER_RENDERER_HOST_INPUT_RENDER_WIDGET_HOST_LATENCY_TRACKER_H _ 6 #define CONTENT_BROWSER_RENDERER_HOST_INPUT_RENDER_WIDGET_HOST_LATENCY_TRACKER_H _
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "content/browser/renderer_host/event_with_latency_info.h" 13 #include "content/browser/renderer_host/event_with_latency_info.h"
14 #include "content/common/content_export.h" 14 #include "content/common/content_export.h"
15 #include "ui/events/latency_info.h" 15 #include "ui/latency_info/latency_info.h"
16 16
17 namespace content { 17 namespace content {
18 18
19 // Utility class for tracking the latency of events passing through 19 // Utility class for tracking the latency of events passing through
20 // a given RenderWidgetHost. 20 // a given RenderWidgetHost.
21 class CONTENT_EXPORT RenderWidgetHostLatencyTracker { 21 class CONTENT_EXPORT RenderWidgetHostLatencyTracker {
22 public: 22 public:
23 RenderWidgetHostLatencyTracker(); 23 RenderWidgetHostLatencyTracker();
24 ~RenderWidgetHostLatencyTracker(); 24 ~RenderWidgetHostLatencyTracker();
25 25
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 int64_t latency_component_id_; 65 int64_t latency_component_id_;
66 float device_scale_factor_; 66 float device_scale_factor_;
67 bool has_seen_first_gesture_scroll_update_; 67 bool has_seen_first_gesture_scroll_update_;
68 68
69 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostLatencyTracker); 69 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostLatencyTracker);
70 }; 70 };
71 71
72 } // namespace content 72 } // namespace content
73 73
74 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_RENDER_WIDGET_HOST_LATENCY_TRACKE R_H_ 74 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_RENDER_WIDGET_HOST_LATENCY_TRACKE R_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698