Index: content/browser/renderer_host/render_widget_host_impl.h |
diff --git a/content/browser/renderer_host/render_widget_host_impl.h b/content/browser/renderer_host/render_widget_host_impl.h |
index d42c1c1062aa9bce26012e5ef0a3a56f74af2ee8..8f1466db341553ef5ac24c049b1361eee078f2f6 100644 |
--- a/content/browser/renderer_host/render_widget_host_impl.h |
+++ b/content/browser/renderer_host/render_widget_host_impl.h |
@@ -23,6 +23,7 @@ |
#include "base/time/time.h" |
#include "base/timer/timer.h" |
#include "build/build_config.h" |
+#include "cc/base/rolling_time_delta_history.h" |
#include "cc/resources/shared_bitmap.h" |
#include "content/browser/renderer_host/event_with_latency_info.h" |
#include "content/browser/renderer_host/input/input_ack_handler.h" |
@@ -476,6 +477,8 @@ class CONTENT_EXPORT RenderWidgetHostImpl |
// or create it if it doesn't already exist. |
BrowserAccessibilityManager* GetOrCreateRootBrowserAccessibilityManager(); |
+ base::TimeDelta GetEstimatedBrowserCompositeTime(); |
+ |
#if defined(OS_WIN) |
gfx::NativeViewAccessible GetParentNativeViewAccessible(); |
#endif |
@@ -823,6 +826,8 @@ class CONTENT_EXPORT RenderWidgetHostImpl |
base::Callback<void(const unsigned char*, size_t)> > PendingSnapshotMap; |
PendingSnapshotMap pending_browser_snapshots_; |
+ cc::RollingTimeDeltaHistory browser_composite_latency_history_; |
+ |
base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; |
DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); |