Index: ui/compositor/compositor.h |
diff --git a/ui/compositor/compositor.h b/ui/compositor/compositor.h |
index 1a2324f1cf2a7d8d37490eea0b1a2e4738fbd697..3f7b1ea349a0e086afa922269d1d9360d75d8f43 100644 |
--- a/ui/compositor/compositor.h |
+++ b/ui/compositor/compositor.h |
@@ -210,6 +210,8 @@ class COMPOSITOR_EXPORT Compositor |
// the whole frame needs to be drawn. |
void ScheduleFullDraw(); |
+ int64 SetInputNumber(int64 input_number); |
+ |
// Reads the region |bounds_in_pixel| of the contents of the last rendered |
// frame into the given bitmap. |
// Returns false if the pixels could not be read. |
@@ -263,7 +265,8 @@ class COMPOSITOR_EXPORT Compositor |
virtual void didCompleteSwapBuffers() OVERRIDE; |
virtual void scheduleComposite() OVERRIDE; |
virtual scoped_ptr<cc::FontAtlas> createFontAtlas() OVERRIDE; |
- |
+ virtual void onReceivedLatencyInfo( |
+ const WebKit::WebLatencyInfoImpl& latencyInfo) OVERRIDE; |
int last_started_frame() { return last_started_frame_; } |
int last_ended_frame() { return last_ended_frame_; } |
@@ -305,6 +308,8 @@ class COMPOSITOR_EXPORT Compositor |
int last_started_frame_; |
int last_ended_frame_; |
+ int64 frame_number_; |
+ |
bool disable_schedule_composite_; |
CompositorLock* compositor_lock_; |