Index: content/browser/android/in_process/synchronous_compositor_impl.h |
diff --git a/content/browser/android/in_process/synchronous_compositor_impl.h b/content/browser/android/in_process/synchronous_compositor_impl.h |
index 9b92cef37810b3eeaf839fc62fad5e954d3d2990..5c24c9a30d0d166e03e6bd1e84427164fda2aa6a 100644 |
--- a/content/browser/android/in_process/synchronous_compositor_impl.h |
+++ b/content/browser/android/in_process/synchronous_compositor_impl.h |
@@ -18,6 +18,7 @@ |
#include "ipc/ipc_message.h" |
namespace cc { |
+class BeginFrameSource; |
class InputHandler; |
} |
@@ -27,6 +28,7 @@ class WebInputEvent; |
namespace content { |
class InputHandlerManager; |
+class SynchronousCompositorExternalBeginFrameSource; |
struct DidOverscrollParams; |
// The purpose of this class is to act as the intermediary between the various |
@@ -48,6 +50,12 @@ class SynchronousCompositorImpl |
InputEventAckState HandleInputEvent(const blink::WebInputEvent& input_event); |
+ void DidInitializeExternalBeginFrameSource( |
+ SynchronousCompositorExternalBeginFrameSource* begin_frame_source); |
+ void DidDestroyExternalBeginFrameSource( |
+ SynchronousCompositorExternalBeginFrameSource* begin_frame_source); |
+ void NeedsBeginFramesChanged() const; |
+ |
// SynchronousCompositor |
virtual void SetClient(SynchronousCompositorClient* compositor_client) |
override; |
@@ -71,7 +79,6 @@ class SynchronousCompositorImpl |
SynchronousCompositorOutputSurface* output_surface) override; |
virtual void DidDestroySynchronousOutputSurface( |
SynchronousCompositorOutputSurface* output_surface) override; |
- virtual void SetContinuousInvalidate(bool enable) override; |
virtual void DidActivatePendingTree() override; |
// LayerScrollOffsetDelegate |
@@ -95,13 +102,16 @@ class SynchronousCompositorImpl |
friend class WebContentsUserData<SynchronousCompositorImpl>; |
void UpdateFrameMetaData(const cc::CompositorFrameMetadata& frame_info); |
+ void NotifyDidDestroyCompositorToClient(); |
void DeliverMessages(); |
bool CalledOnValidThread() const; |
SynchronousCompositorClient* compositor_client_; |
SynchronousCompositorOutputSurface* output_surface_; |
+ SynchronousCompositorExternalBeginFrameSource* begin_frame_source_; |
WebContents* contents_; |
cc::InputHandler* input_handler_; |
+ bool invoking_composite_; |
base::WeakPtrFactory<SynchronousCompositorImpl> weak_ptr_factory_; |