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 4581e69de484b610aab3ea77323e0ef096f24bf3..04dcaa934b4e4afca5e26cb8a5d78f19cd82fc02 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_; |