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

Unified Diff: content/browser/renderer_host/render_widget_host_view_android.cc

Issue 11959036: Implement vsync notification on Android (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased. Created 7 years, 9 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/browser/renderer_host/render_widget_host_view_android.cc
diff --git a/content/browser/renderer_host/render_widget_host_view_android.cc b/content/browser/renderer_host/render_widget_host_view_android.cc
index 2bbe24d8fafc75958aee2ca6252d0bf2a05f8e82..6ea2661ca3c7935f7f16c1414be4f106dce73193 100644
--- a/content/browser/renderer_host/render_widget_host_view_android.cc
+++ b/content/browser/renderer_host/render_widget_host_view_android.cc
@@ -624,6 +624,11 @@ bool RenderWidgetHostViewAndroid::HasAcceleratedSurface(
return false;
}
+void RenderWidgetHostViewAndroid::SetVSyncNotificationEnabled(bool enable) {
+ if (content_view_core_)
+ content_view_core_->SetVSyncNotificationEnabled(enable);
+}
+
void RenderWidgetHostViewAndroid::GetScreenInfo(WebKit::WebScreenInfo* result) {
// ScreenInfo isn't tied to the widget on Android. Always return the default.
RenderWidgetHostViewBase::GetDefaultScreenInfo(result);

Powered by Google App Engine
This is Rietveld 408576698