| Index: content/public/browser/android/synchronous_compositor.h
|
| diff --git a/content/public/browser/android/synchronous_compositor.h b/content/public/browser/android/synchronous_compositor.h
|
| index 476b86dce8310bb235402a50a67bab4137f8fca5..be7920993b1fc87e77814009f2725206114b9625 100644
|
| --- a/content/public/browser/android/synchronous_compositor.h
|
| +++ b/content/public/browser/android/synchronous_compositor.h
|
| @@ -87,6 +87,11 @@ class CONTENT_EXPORT SynchronousCompositor {
|
| // SynchronousCompositorClient::GetTotalRootLayerScrollOffset).
|
| virtual void DidChangeRootLayerScrollOffset() = 0;
|
|
|
| + // Called by the embedder to notify that the compositor is active. The
|
| + // compositor won't ask for vsyncs when it's inactive. NOTE: The compositor
|
| + // starts off as inactive and needs a SetActive(true) call to begin.
|
| + virtual void SetIsActive(bool is_active) = 0;
|
| +
|
| protected:
|
| virtual ~SynchronousCompositor() {}
|
| };
|
|
|