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

Unified Diff: content/port/browser/render_widget_host_view_port.h

Issue 13068002: Send vsync notification from browser to renderer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Made the RWHV API Android-only. 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/port/browser/render_widget_host_view_port.h
diff --git a/content/port/browser/render_widget_host_view_port.h b/content/port/browser/render_widget_host_view_port.h
index 051a64f27b87a04acaa7cf60e72afe08c59b5f3f..762bee76356ad81ae25ef007bf1c311e7d568a26 100644
--- a/content/port/browser/render_widget_host_view_port.h
+++ b/content/port/browser/render_widget_host_view_port.h
@@ -312,6 +312,10 @@ class CONTENT_EXPORT RenderWidgetHostViewPort : public RenderWidgetHostView,
const gfx::Vector2dF& content_offset,
float overdraw_bottom_height) = 0;
virtual void HasTouchEventHandlers(bool need_touch_events) = 0;
+
+ // Request a periodic vsync signal notification from the View. The signal will
+ // be delivered until explicitly disabled.
+ virtual void SetVSyncNotificationEnabled(bool enabled) = 0;
#endif
#if defined(OS_WIN) && !defined(USE_AURA)

Powered by Google App Engine
This is Rietveld 408576698