Index: content/browser/android/content_view_core_impl.h |
diff --git a/content/browser/android/content_view_core_impl.h b/content/browser/android/content_view_core_impl.h |
index e8b1e4e5910627a4d7e7b53428b41d78265d7d34..243c76bc0ff7513ca2de9f5117cbd5cf40667b18 100644 |
--- a/content/browser/android/content_view_core_impl.h |
+++ b/content/browser/android/content_view_core_impl.h |
@@ -297,7 +297,7 @@ class ContentViewCoreImpl : public ContentViewCore, |
void AttachLayer(scoped_refptr<cc::Layer> layer); |
void RemoveLayer(scoped_refptr<cc::Layer> layer); |
- void SetVSyncNotificationEnabled(bool enabled); |
+ void SetNeedsBeginFrame(bool enabled); |
void SetNeedsAnimate(); |
private: |
@@ -349,6 +349,10 @@ class ContentViewCoreImpl : public ContentViewCore, |
// Device scale factor. |
float dpi_scale_; |
+ // Variables used to keep track of frame timestamps and deadlines. |
+ base::TimeDelta vsync_interval_; |
+ base::TimeDelta expected_browser_composite_time_; |
+ |
// The Android view that can be used to add and remove decoration layers |
// like AutofillPopup. |
ui::ViewAndroid* view_android_; |