| 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 CC_TREES_LAYER_TREE_H_ | 5 #ifndef CC_TREES_LAYER_TREE_H_ |
| 6 #define CC_TREES_LAYER_TREE_H_ | 6 #define CC_TREES_LAYER_TREE_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <unordered_map> | 9 #include <unordered_map> |
| 10 #include <unordered_set> | 10 #include <unordered_set> |
| (...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 220 void SetElementOpacityMutated(ElementId element_id, | 220 void SetElementOpacityMutated(ElementId element_id, |
| 221 ElementListType list_type, | 221 ElementListType list_type, |
| 222 float opacity) override; | 222 float opacity) override; |
| 223 void SetElementTransformMutated(ElementId element_id, | 223 void SetElementTransformMutated(ElementId element_id, |
| 224 ElementListType list_type, | 224 ElementListType list_type, |
| 225 const gfx::Transform& transform) override; | 225 const gfx::Transform& transform) override; |
| 226 void SetElementScrollOffsetMutated( | 226 void SetElementScrollOffsetMutated( |
| 227 ElementId element_id, | 227 ElementId element_id, |
| 228 ElementListType list_type, | 228 ElementListType list_type, |
| 229 const gfx::ScrollOffset& scroll_offset) override; | 229 const gfx::ScrollOffset& scroll_offset) override; |
| 230 void ElementTransformIsAnimatingChanged(ElementId element_id, | 230 |
| 231 ElementListType list_type, | 231 void ElementIsAnimatingChanged(ElementId element_id, |
| 232 AnimationChangeType change_type, | 232 ElementListType list_type, |
| 233 bool is_animating) override; | 233 const PropertyAnimationState& mask, |
| 234 void ElementOpacityIsAnimatingChanged(ElementId element_id, | 234 const PropertyAnimationState& state) override; |
| 235 ElementListType list_type, | 235 |
| 236 AnimationChangeType change_type, | |
| 237 bool is_animating) override; | |
| 238 void ElementFilterIsAnimatingChanged(ElementId element_id, | |
| 239 ElementListType list_type, | |
| 240 AnimationChangeType change_type, | |
| 241 bool is_animating) override; | |
| 242 void ScrollOffsetAnimationFinished() override {} | 236 void ScrollOffsetAnimationFinished() override {} |
| 243 gfx::ScrollOffset GetScrollOffsetForAnimation( | 237 gfx::ScrollOffset GetScrollOffsetForAnimation( |
| 244 ElementId element_id) const override; | 238 ElementId element_id) const override; |
| 245 | 239 |
| 246 // Encapsulates the data, callbacks, interfaces received from the embedder. | 240 // Encapsulates the data, callbacks, interfaces received from the embedder. |
| 247 struct Inputs { | 241 struct Inputs { |
| 248 Inputs(); | 242 Inputs(); |
| 249 ~Inputs(); | 243 ~Inputs(); |
| 250 | 244 |
| 251 scoped_refptr<Layer> root_layer; | 245 scoped_refptr<Layer> root_layer; |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 311 // external embedder. | 305 // external embedder. |
| 312 EnginePictureCache* engine_picture_cache_; | 306 EnginePictureCache* engine_picture_cache_; |
| 313 ClientPictureCache* client_picture_cache_; | 307 ClientPictureCache* client_picture_cache_; |
| 314 | 308 |
| 315 DISALLOW_COPY_AND_ASSIGN(LayerTree); | 309 DISALLOW_COPY_AND_ASSIGN(LayerTree); |
| 316 }; | 310 }; |
| 317 | 311 |
| 318 } // namespace cc | 312 } // namespace cc |
| 319 | 313 |
| 320 #endif // CC_TREES_LAYER_TREE_H_ | 314 #endif // CC_TREES_LAYER_TREE_H_ |
| OLD | NEW |