| Index: cc/trees/remote_channel_impl.h
|
| diff --git a/cc/trees/remote_channel_impl.h b/cc/trees/remote_channel_impl.h
|
| index b5fa1816f0b96c5cc6acdd5e37fd3248a14b9b55..81ae01b3c150e9ac2f9f0a2160d86e6badaecb46 100644
|
| --- a/cc/trees/remote_channel_impl.h
|
| +++ b/cc/trees/remote_channel_impl.h
|
| @@ -105,6 +105,8 @@
|
| // this queue if we are waiting for a new output surface to be initialized.
|
| std::queue<proto::CompositorMessageToImpl> pending_messages;
|
|
|
| + RendererCapabilities renderer_capabilities;
|
| +
|
| base::WeakPtrFactory<RemoteChannelImpl> remote_channel_weak_factory;
|
|
|
| MainThreadOnly(RemoteChannelImpl*,
|
| @@ -134,6 +136,7 @@
|
| void SetOutputSurface(OutputSurface* output_surface) override;
|
| void ReleaseOutputSurface() override;
|
| void SetVisible(bool visible) override;
|
| + const RendererCapabilities& GetRendererCapabilities() const override;
|
| void SetNeedsAnimate() override;
|
| void SetNeedsUpdateLayers() override;
|
| void SetNeedsCommit() override;
|
| @@ -157,12 +160,16 @@
|
| // Called on impl thread.
|
| // ChannelImpl implementation
|
| void DidCompleteSwapBuffers() override;
|
| + void SetRendererCapabilitiesMainCopy(
|
| + const RendererCapabilities& capabilities) override;
|
| void BeginMainFrameNotExpectedSoon() override;
|
| void DidCommitAndDrawFrame() override;
|
| void SetAnimationEvents(std::unique_ptr<AnimationEvents> queue) override;
|
| void DidLoseOutputSurface() override;
|
| void RequestNewOutputSurface() override;
|
| - void DidInitializeOutputSurface(bool success) override;
|
| + void DidInitializeOutputSurface(
|
| + bool success,
|
| + const RendererCapabilities& capabilities) override;
|
| void DidCompletePageScaleAnimation() override;
|
| void BeginMainFrame(std::unique_ptr<BeginMainFrameAndCommitState>
|
| begin_main_frame_state) override;
|
| @@ -175,7 +182,9 @@
|
| void DidCommitAndDrawFrameOnMain();
|
| void DidLoseOutputSurfaceOnMain();
|
| void RequestNewOutputSurfaceOnMain();
|
| - void DidInitializeOutputSurfaceOnMain(bool success);
|
| + void DidInitializeOutputSurfaceOnMain(
|
| + bool success,
|
| + const RendererCapabilities& capabilities);
|
| void SendMessageProtoOnMain(std::unique_ptr<proto::CompositorMessage> proto);
|
| void PostSetNeedsRedrawToImpl(const gfx::Rect& damaged_rect);
|
|
|
|
|