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

Unified Diff: content/renderer/render_widget.h

Issue 252663002: Track plugin input event latency (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: fix win & mac build Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/renderer/pepper/plugin_module.cc ('k') | content/renderer/render_widget.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_widget.h
diff --git a/content/renderer/render_widget.h b/content/renderer/render_widget.h
index 7841307a4b5c354240818fdd655293926229294c..acdc7d454dbb13922fb1a64b841014e2deb37b06 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"
@@ -159,6 +160,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).
@@ -667,6 +672,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)
« no previous file with comments | « content/renderer/pepper/plugin_module.cc ('k') | content/renderer/render_widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698