 Chromium Code Reviews
 Chromium Code Reviews Issue 1602343002:
  compositor-worker: cc->blink mutation plumbing  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/src.git@compositor-worker-ian-patch
    
  
    Issue 1602343002:
  compositor-worker: cc->blink mutation plumbing  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/src.git@compositor-worker-ian-patch| Index: cc/animation/layer_tree_mutations_callback.h | 
| diff --git a/cc/animation/layer_tree_mutations_callback.h b/cc/animation/layer_tree_mutations_callback.h | 
| new file mode 100644 | 
| index 0000000000000000000000000000000000000000..662992ccba163400da8c5900aef1d29133ead596 | 
| --- /dev/null | 
| +++ b/cc/animation/layer_tree_mutations_callback.h | 
| @@ -0,0 +1,21 @@ | 
| +// Copyright 2016 The Chromium Authors. All rights reserved. | 
| +// Use of this source code is governed by a BSD-style license that can be | 
| +// found in the LICENSE file. | 
| + | 
| +#ifndef CC_ANIMATION_LAYER_TREE_MUTATIONS_CALLBACK_H_ | 
| +#define CC_ANIMATION_LAYER_TREE_MUTATIONS_CALLBACK_H_ | 
| + | 
| +namespace cc { | 
| + | 
| +// Represents a callback which is responsible for applying layer tree mutations. | 
| +// The concrete implementation lives in Blink which applies mutation to DOM | 
| +// elements. | 
| +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
 | 
| + public: | 
| + virtual ~LayerTreeMutationsCallback() {} | 
| + virtual void ApplyLayerTreeMutations() = 0; | 
| +}; | 
| + | 
| +} // namespace cc | 
| + | 
| +#endif // CC_ANIMATION_LAYER_TREE_MUTATIONS_CALLBACK_H_ |