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 CC_ANIMATION_LAYER_TREE_MUTATIONS_CALLBACK_H_ | |
6 #define CC_ANIMATION_LAYER_TREE_MUTATIONS_CALLBACK_H_ | |
7 | |
8 namespace cc { | |
9 | |
10 // Represents a callback which is responsible for applying layer tree mutations. | |
11 // The concrete implementation lives in Blink which applies mutation to DOM | |
12 // elements. | |
13 class LayerTreeMutationsCallback { | |
enne (OOO)
2016/03/02 19:55:54
What does this indirection get you over just using
majidvp
2016/03/02 21:15:10
The actual implementation of the method that retur
| |
14 public: | |
15 virtual ~LayerTreeMutationsCallback() {} | |
16 virtual void ApplyLayerTreeMutations() = 0; | |
17 }; | |
18 | |
19 } // namespace cc | |
20 | |
21 #endif // CC_ANIMATION_LAYER_TREE_MUTATIONS_CALLBACK_H_ | |
OLD | NEW |