Index: content/renderer/render_widget.h |
diff --git a/content/renderer/render_widget.h b/content/renderer/render_widget.h |
index cfeb1e8fc7d48805fd8b96f99f1a6492b4095f6e..2adc01400bff49702e19f75dfcefe4f8eccad931 100644 |
--- a/content/renderer/render_widget.h |
+++ b/content/renderer/render_widget.h |
@@ -8,6 +8,7 @@ |
#include <deque> |
#include <map> |
+#include "base/auto_reset.h" |
#include "base/basictypes.h" |
#include "base/compiler_specific.h" |
#include "base/memory/ref_counted.h" |
@@ -165,6 +166,10 @@ class CONTENT_EXPORT RenderWidget |
RenderWidgetCompositor* compositor() const; |
+ const ui::LatencyInfo* current_event_latency_info() const { |
+ return current_event_latency_info_; |
+ } |
+ |
virtual scoped_ptr<cc::OutputSurface> CreateOutputSurface(bool fallback); |
// Callback for use with synthetic gestures (e.g. BeginSmoothScroll). |
@@ -685,6 +690,8 @@ class CONTENT_EXPORT RenderWidget |
// Specified whether the compositor will run in its own thread. |
bool is_threaded_compositing_enabled_; |
+ const ui::LatencyInfo* current_event_latency_info_; |
+ |
uint32 next_output_surface_id_; |
#if defined(OS_ANDROID) |