| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CompositorMutatorClient_h | 5 #ifndef CompositorMutatorClient_h |
| 6 #define CompositorMutatorClient_h | 6 #define CompositorMutatorClient_h |
| 7 | 7 |
| 8 #include <memory> |
| 8 #include "platform/PlatformExport.h" | 9 #include "platform/PlatformExport.h" |
| 9 #include "platform/heap/Handle.h" | 10 #include "platform/heap/Handle.h" |
| 10 #include "public/platform/WebCompositorMutatorClient.h" | 11 #include "public/platform/WebCompositorMutatorClient.h" |
| 11 #include <memory> | |
| 12 | 12 |
| 13 namespace blink { | 13 namespace blink { |
| 14 | 14 |
| 15 class CompositorMutator; | 15 class CompositorMutator; |
| 16 struct CompositorMutations; | 16 struct CompositorMutations; |
| 17 class CompositorMutationsTarget; | 17 class CompositorMutationsTarget; |
| 18 | 18 |
| 19 class PLATFORM_EXPORT CompositorMutatorClient | 19 class PLATFORM_EXPORT CompositorMutatorClient |
| 20 : public WebCompositorMutatorClient { | 20 : public WebCompositorMutatorClient { |
| 21 public: | 21 public: |
| (...skipping 14 matching lines...) Expand all Loading... |
| 36 private: | 36 private: |
| 37 cc::LayerTreeMutatorClient* m_client; | 37 cc::LayerTreeMutatorClient* m_client; |
| 38 CompositorMutationsTarget* m_mutationsTarget; | 38 CompositorMutationsTarget* m_mutationsTarget; |
| 39 Persistent<CompositorMutator> m_mutator; | 39 Persistent<CompositorMutator> m_mutator; |
| 40 std::unique_ptr<CompositorMutations> m_mutations; | 40 std::unique_ptr<CompositorMutations> m_mutations; |
| 41 }; | 41 }; |
| 42 | 42 |
| 43 } // namespace blink | 43 } // namespace blink |
| 44 | 44 |
| 45 #endif // CompositorMutatorClient_h | 45 #endif // CompositorMutatorClient_h |
| OLD | NEW |