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 370 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
381 ElementListType list_type, | 381 ElementListType list_type, |
382 const gfx::ScrollOffset& scroll_offset) override; | 382 const gfx::ScrollOffset& scroll_offset) override; |
383 void ElementTransformIsAnimatingChanged(ElementId element_id, | 383 void ElementTransformIsAnimatingChanged(ElementId element_id, |
384 ElementListType list_type, | 384 ElementListType list_type, |
385 AnimationChangeType change_type, | 385 AnimationChangeType change_type, |
386 bool is_animating) override; | 386 bool is_animating) override; |
387 void ElementOpacityIsAnimatingChanged(ElementId element_id, | 387 void ElementOpacityIsAnimatingChanged(ElementId element_id, |
388 ElementListType list_type, | 388 ElementListType list_type, |
389 AnimationChangeType change_type, | 389 AnimationChangeType change_type, |
390 bool is_animating) override; | 390 bool is_animating) override; |
| 391 void ElementFilterIsAnimatingChanged(ElementId element_id, |
| 392 ElementListType list_type, |
| 393 AnimationChangeType change_type, |
| 394 bool is_animating) override; |
391 void ScrollOffsetAnimationFinished() override {} | 395 void ScrollOffsetAnimationFinished() override {} |
392 gfx::ScrollOffset GetScrollOffsetForAnimation( | 396 gfx::ScrollOffset GetScrollOffsetForAnimation( |
393 ElementId element_id) const override; | 397 ElementId element_id) const override; |
394 | 398 |
395 // Serializes the parts of this LayerTreeHost that is needed for a commit to a | 399 // Serializes the parts of this LayerTreeHost that is needed for a commit to a |
396 // protobuf message. Not all members are serialized as they are not helpful | 400 // protobuf message. Not all members are serialized as they are not helpful |
397 // for remote usage. | 401 // for remote usage. |
398 // The |swap_promise_list_| is transferred to the serializer in | 402 // The |swap_promise_list_| is transferred to the serializer in |
399 // |swap_promises|. | 403 // |swap_promises|. |
400 void ToProtobufForCommit( | 404 void ToProtobufForCommit( |
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
606 uint32_t surface_client_id_; | 610 uint32_t surface_client_id_; |
607 uint32_t next_surface_sequence_; | 611 uint32_t next_surface_sequence_; |
608 uint32_t num_consecutive_frames_suitable_for_gpu_ = 0; | 612 uint32_t num_consecutive_frames_suitable_for_gpu_ = 0; |
609 | 613 |
610 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); | 614 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); |
611 }; | 615 }; |
612 | 616 |
613 } // namespace cc | 617 } // namespace cc |
614 | 618 |
615 #endif // CC_TREES_LAYER_TREE_HOST_H_ | 619 #endif // CC_TREES_LAYER_TREE_HOST_H_ |
OLD | NEW |