| OLD | NEW |
| 1 // Copyright 2011 The Chromium Authors. All rights reserved. | 1 // Copyright 2011 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_HOST_H_ | 5 #ifndef CC_TREES_LAYER_TREE_HOST_H_ |
| 6 #define CC_TREES_LAYER_TREE_HOST_H_ | 6 #define CC_TREES_LAYER_TREE_HOST_H_ |
| 7 | 7 |
| 8 #include <limits> | 8 #include <limits> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 323 void SetLayerOpacityMutated(int layer_id, | 323 void SetLayerOpacityMutated(int layer_id, |
| 324 bool active_tree, | 324 bool active_tree, |
| 325 float opacity) override; | 325 float opacity) override; |
| 326 void SetLayerTransformMutated(int layer_id, | 326 void SetLayerTransformMutated(int layer_id, |
| 327 bool active_tree, | 327 bool active_tree, |
| 328 const gfx::Transform& transform) override; | 328 const gfx::Transform& transform) override; |
| 329 void SetLayerScrollOffsetMutated( | 329 void SetLayerScrollOffsetMutated( |
| 330 int layer_id, | 330 int layer_id, |
| 331 bool active_tree, | 331 bool active_tree, |
| 332 const gfx::ScrollOffset& scroll_offset) override; | 332 const gfx::ScrollOffset& scroll_offset) override; |
| 333 gfx::ScrollOffset GetScrollOffsetForAnimation(int layer_id) const override; |
| 333 | 334 |
| 334 bool IsAnimatingFilterProperty(const Layer* layer) const; | 335 bool IsAnimatingFilterProperty(const Layer* layer) const; |
| 335 bool IsAnimatingOpacityProperty(const Layer* layer) const; | 336 bool IsAnimatingOpacityProperty(const Layer* layer) const; |
| 336 bool IsAnimatingTransformProperty(const Layer* layer) const; | 337 bool IsAnimatingTransformProperty(const Layer* layer) const; |
| 337 bool AnimationsPreserveAxisAlignment(const Layer* layer) const; | 338 bool AnimationsPreserveAxisAlignment(const Layer* layer) const; |
| 338 bool HasAnyAnimation(const Layer* layer) const; | 339 bool HasAnyAnimation(const Layer* layer) const; |
| 339 bool HasActiveAnimation(const Layer* layer) const; | 340 bool HasActiveAnimation(const Layer* layer) const; |
| 340 | 341 |
| 341 protected: | 342 protected: |
| 342 LayerTreeHost(LayerTreeHostClient* client, | 343 LayerTreeHost(LayerTreeHostClient* client, |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 487 | 488 |
| 488 uint32_t surface_id_namespace_; | 489 uint32_t surface_id_namespace_; |
| 489 uint32_t next_surface_sequence_; | 490 uint32_t next_surface_sequence_; |
| 490 | 491 |
| 491 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); | 492 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); |
| 492 }; | 493 }; |
| 493 | 494 |
| 494 } // namespace cc | 495 } // namespace cc |
| 495 | 496 |
| 496 #endif // CC_TREES_LAYER_TREE_HOST_H_ | 497 #endif // CC_TREES_LAYER_TREE_HOST_H_ |
| OLD | NEW |