| Index: third_party/WebKit/Source/platform/graphics/CompositorMutatorClient.h
|
| diff --git a/third_party/WebKit/Source/platform/graphics/CompositorMutatorClient.h b/third_party/WebKit/Source/platform/graphics/CompositorMutatorClient.h
|
| index 1c5ee5e761679bb3a008c14deb55e34c8b71fbaa..a07d94c933e0695565740176eb6f7461083e317d 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/CompositorMutatorClient.h
|
| +++ b/third_party/WebKit/Source/platform/graphics/CompositorMutatorClient.h
|
| @@ -12,19 +12,26 @@
|
|
|
| namespace blink {
|
|
|
| +class CompositorMutator;
|
| struct CompositorMutations;
|
| class CompositorMutationsTarget;
|
|
|
| class PLATFORM_EXPORT CompositorMutatorClient : public WebCompositorMutatorClient {
|
| public:
|
| - CompositorMutatorClient(CompositorMutationsTarget*);
|
| + CompositorMutatorClient(CompositorMutator*, CompositorMutationsTarget*);
|
| virtual ~CompositorMutatorClient();
|
|
|
| + void setNeedsMutate();
|
| +
|
| // cc::LayerTreeMutator
|
| + bool Mutate(base::TimeTicks timeNow) override;
|
| + void SetClient(cc::LayerTreeMutatorClient*) override;
|
| base::Closure TakeMutations() override;
|
|
|
| void setMutationsForTesting(PassOwnPtr<CompositorMutations>);
|
| private:
|
| + cc::LayerTreeMutatorClient* m_client;
|
| + CompositorMutator* m_mutator;
|
| CompositorMutationsTarget* m_mutationsTarget;
|
| OwnPtr<CompositorMutations> m_mutations;
|
| };
|
|
|