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

Unified Diff: content/renderer/gpu/input_event_filter.h

Issue 11293121: Add latency measurement system (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: create cc::LatencyInfo Created 7 years, 12 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/gpu/compositor_thread.cc ('k') | content/renderer/gpu/input_event_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/gpu/input_event_filter.h
diff --git a/content/renderer/gpu/input_event_filter.h b/content/renderer/gpu/input_event_filter.h
index 690e9bdf0c42a5075db26e11de1fc22238b19def..bf178460ca5723f75f5c909afbd7feb0343f8bef 100644
--- a/content/renderer/gpu/input_event_filter.h
+++ b/content/renderer/gpu/input_event_filter.h
@@ -29,6 +29,7 @@ class CONTENT_EXPORT InputEventFilter
: public IPC::ChannelProxy::MessageFilter {
public:
typedef base::Callback<void(int /*routing_id*/,
+ int64 /*input_number*/,
const WebKit::WebInputEvent*)> Handler;
// The |handler| is invoked on the thread associated with |target_loop| to
@@ -63,7 +64,8 @@ class CONTENT_EXPORT InputEventFilter
virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
// Expects a ViewMsg_HandleInputEvent message.
- static const WebKit::WebInputEvent* CrackMessage(const IPC::Message& message);
+ static const WebKit::WebInputEvent* CrackMessage(const IPC::Message& message,
+ int64* frame_number);
private:
friend class IPC::ChannelProxy::MessageFilter;
« no previous file with comments | « content/renderer/gpu/compositor_thread.cc ('k') | content/renderer/gpu/input_event_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698