| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2015 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_BLINK_MUTATION_CONVERSIONS_H_ |
| 6 #define CC_BLINK_MUTATION_CONVERSIONS_H_ |
| 7 |
| 8 #include "cc/animation/layer_tree_mutation.h" |
| 9 #include "cc/blink/cc_blink_export.h" |
| 10 #include "third_party/WebKit/public/platform/WebMutation.h" |
| 11 |
| 12 namespace cc_blink { |
| 13 |
| 14 // TODO(vollick): once the repos are merged, this whole sorry business can be |
| 15 // deleted since we can share the compositor proxy mutation types. |
| 16 CC_BLINK_EXPORT void convertToBlinkMutations( |
| 17 const cc::LayerTreeMutationMap& source, |
| 18 blink::WebMutationMap* destination); |
| 19 |
| 20 CC_BLINK_EXPORT void convertFromBlinkMutations( |
| 21 const blink::WebMutationMap& source, |
| 22 cc::LayerTreeMutationMap* destination); |
| 23 |
| 24 } // namespace cc_blink |
| 25 |
| 26 #endif // CC_BLINK_MUTATION_CONVERSIONS_H_ |
| OLD | NEW |