OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CompositorMutationsCallback_h |
| 6 #define CompositorMutationsCallback_h |
| 7 |
| 8 #include "cc/animation/layer_tree_mutations_callback.h" |
| 9 #include "platform/PlatformExport.h" |
| 10 #include "platform/graphics/CompositorMutation.h" |
| 11 #include "platform/heap/Handle.h" |
| 12 |
| 13 namespace blink { |
| 14 |
| 15 class CompositorMutationsTarget; |
| 16 |
| 17 class CompositorMutationsCallback : public cc::LayerTreeMutationsCallback { |
| 18 public: |
| 19 CompositorMutationsCallback(PassOwnPtr<CompositorMutations>, CompositorMutat
ionsTarget*); |
| 20 ~CompositorMutationsCallback() override {} |
| 21 |
| 22 // cc::LayerTreeMutationsCallback |
| 23 void ApplyLayerTreeMutations() override; |
| 24 |
| 25 private: |
| 26 OwnPtr<CompositorMutations> m_mutations; |
| 27 CompositorMutationsTarget* m_target; |
| 28 }; |
| 29 |
| 30 } // namespace blink |
| 31 |
| 32 #endif // CompositorMutationsCallback_h |
OLD | NEW |