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

Unified Diff: content/browser/renderer_host/input/render_widget_host_latency_tracker.h

Issue 1244443003: android: Use a hard coded BeginFrame deadline (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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 | « no previous file | content/browser/renderer_host/input/render_widget_host_latency_tracker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/input/render_widget_host_latency_tracker.h
diff --git a/content/browser/renderer_host/input/render_widget_host_latency_tracker.h b/content/browser/renderer_host/input/render_widget_host_latency_tracker.h
index 64e6f7f7bbc7e05068893758f9dd47522adabb74..32537d1a0b1c28e0b53c2da4cf53daa900f45cf7 100644
--- a/content/browser/renderer_host/input/render_widget_host_latency_tracker.h
+++ b/content/browser/renderer_host/input/render_widget_host_latency_tracker.h
@@ -8,7 +8,6 @@
#include <vector>
#include "base/basictypes.h"
-#include "cc/base/rolling_time_delta_history.h"
#include "content/browser/renderer_host/event_with_latency_info.h"
#include "content/common/content_export.h"
#include "ui/events/latency_info.h"
@@ -49,10 +48,6 @@ class CONTENT_EXPORT RenderWidgetHostLatencyTracker {
// Called when the RenderWidgetHost receives a swap update from the GPU.
void OnFrameSwapped(const ui::LatencyInfo& latency);
- // Produces an estimate of the time between browser composite and GPU swap,
- // as informed by historical latency values.
- base::TimeDelta GetEstimatedBrowserCompositeTime() const;
-
// WebInputEvent coordinates are in DPIs, while LatencyInfo expects
// coordinates in device pixels.
void set_device_scale_factor(float device_scale_factor) {
@@ -68,7 +63,6 @@ class CONTENT_EXPORT RenderWidgetHostLatencyTracker {
int64 latency_component_id_;
float device_scale_factor_;
bool has_seent_first_gesture_scroll_update_;
- cc::RollingTimeDeltaHistory browser_composite_latency_history_;
DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostLatencyTracker);
};
« no previous file with comments | « no previous file | content/browser/renderer_host/input/render_widget_host_latency_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698