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

Unified Diff: content/renderer/idle_user_detector.h

Issue 13931009: Add latency info to input events sent to RenderWidget. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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
Index: content/renderer/idle_user_detector.h
diff --git a/content/renderer/idle_user_detector.h b/content/renderer/idle_user_detector.h
index ab45ed0cae3a964cbb3e492c01908c7880398fb2..65107e3d8f32160ae2e124168bf5fdafea940fe1 100644
--- a/content/renderer/idle_user_detector.h
+++ b/content/renderer/idle_user_detector.h
@@ -12,6 +12,10 @@ namespace WebKit {
class WebInputEvent;
}
+namespace cc {
+struct LatencyInfo;
+}
+
namespace content {
// Class which observes user input events and postpones
@@ -26,6 +30,7 @@ class IdleUserDetector : public RenderViewObserver {
virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
void OnHandleInputEvent(const WebKit::WebInputEvent* event,
+ const cc::LatencyInfo& latency_info,
bool is_keyboard_shortcut);
DISALLOW_COPY_AND_ASSIGN(IdleUserDetector);

Powered by Google App Engine
This is Rietveld 408576698