| 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 <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 355 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 366 void SetElementOpacityMutated(ElementId element_id, | 366 void SetElementOpacityMutated(ElementId element_id, |
| 367 ElementListType list_type, | 367 ElementListType list_type, |
| 368 float opacity) override; | 368 float opacity) override; |
| 369 void SetElementTransformMutated(ElementId element_id, | 369 void SetElementTransformMutated(ElementId element_id, |
| 370 ElementListType list_type, | 370 ElementListType list_type, |
| 371 const gfx::Transform& transform) override; | 371 const gfx::Transform& transform) override; |
| 372 void SetElementScrollOffsetMutated( | 372 void SetElementScrollOffsetMutated( |
| 373 ElementId element_id, | 373 ElementId element_id, |
| 374 ElementListType list_type, | 374 ElementListType list_type, |
| 375 const gfx::ScrollOffset& scroll_offset) override; | 375 const gfx::ScrollOffset& scroll_offset) override; |
| 376 void ElementTransformIsPotentiallyAnimatingChanged( | 376 void ElementTransformIsAnimatingChanged(ElementId element_id, |
| 377 ElementId element_id, | 377 ElementListType list_type, |
| 378 ElementListType list_type, | 378 AnimationChangeType change_type, |
| 379 bool is_animating) override; | 379 bool is_animating) override; |
| 380 void ElementOpacityIsAnimatingChanged(ElementId element_id, | 380 void ElementOpacityIsAnimatingChanged(ElementId element_id, |
| 381 ElementListType list_type, | 381 ElementListType list_type, |
| 382 AnimationChangeType change_type, | 382 AnimationChangeType change_type, |
| 383 bool is_animating) override; | 383 bool is_animating) override; |
| 384 void ScrollOffsetAnimationFinished() override {} | 384 void ScrollOffsetAnimationFinished() override {} |
| 385 gfx::ScrollOffset GetScrollOffsetForAnimation( | 385 gfx::ScrollOffset GetScrollOffsetForAnimation( |
| 386 ElementId element_id) const override; | 386 ElementId element_id) const override; |
| 387 | 387 |
| 388 bool ScrollOffsetAnimationWasInterrupted(const Layer* layer) const; | 388 bool ScrollOffsetAnimationWasInterrupted(const Layer* layer) const; |
| 389 bool IsAnimatingFilterProperty(const Layer* layer) const; | 389 bool IsAnimatingFilterProperty(const Layer* layer) const; |
| (...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 592 | 592 |
| 593 uint32_t surface_id_namespace_; | 593 uint32_t surface_id_namespace_; |
| 594 uint32_t next_surface_sequence_; | 594 uint32_t next_surface_sequence_; |
| 595 | 595 |
| 596 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); | 596 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); |
| 597 }; | 597 }; |
| 598 | 598 |
| 599 } // namespace cc | 599 } // namespace cc |
| 600 | 600 |
| 601 #endif // CC_TREES_LAYER_TREE_HOST_H_ | 601 #endif // CC_TREES_LAYER_TREE_HOST_H_ |
| OLD | NEW |