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

Unified Diff: content/common/gpu/image_transport_surface.h

Issue 11195011: Send vsync timebase updates to the browser compositor (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Send vsync timebase updates to the browser compositor Created 8 years, 2 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/common/gpu/image_transport_surface.h
diff --git a/content/common/gpu/image_transport_surface.h b/content/common/gpu/image_transport_surface.h
index 348b5f6574b6c4234e942c382d1b84a320491571..75c6ff8590f369676aa2151bf55193cac42006ce 100644
--- a/content/common/gpu/image_transport_surface.h
+++ b/content/common/gpu/image_transport_surface.h
@@ -184,6 +184,10 @@ class PassThroughImageTransportSurface
protected:
virtual ~PassThroughImageTransportSurface();
+ // If the time of the most recent screen refresh can be determined, send
+ // this information to the browser.
+ virtual void SendVSyncUpdateIfAvailable();
+
private:
scoped_ptr<ImageTransportHelper> helper_;
gfx::Size new_size_;

Powered by Google App Engine
This is Rietveld 408576698