Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(573)

Side by Side Diff: cc/layers/layer.h

Issue 2110683004: cc: Move filters to the effect tree (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address review comments Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « cc/animation/element_animations_unittest.cc ('k') | cc/layers/layer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2010 The Chromium Authors. All rights reserved. 1 // Copyright 2010 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_LAYERS_LAYER_H_ 5 #ifndef CC_LAYERS_LAYER_H_
6 #define CC_LAYERS_LAYER_H_ 6 #define CC_LAYERS_LAYER_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 546 matching lines...) Expand 10 before | Expand all | Expand 10 after
557 // Interactions with attached animations. 557 // Interactions with attached animations.
558 gfx::ScrollOffset ScrollOffsetForAnimation() const; 558 gfx::ScrollOffset ScrollOffsetForAnimation() const;
559 void OnFilterAnimated(const FilterOperations& filters); 559 void OnFilterAnimated(const FilterOperations& filters);
560 void OnOpacityAnimated(float opacity); 560 void OnOpacityAnimated(float opacity);
561 void OnTransformAnimated(const gfx::Transform& transform); 561 void OnTransformAnimated(const gfx::Transform& transform);
562 void OnScrollOffsetAnimated(const gfx::ScrollOffset& scroll_offset); 562 void OnScrollOffsetAnimated(const gfx::ScrollOffset& scroll_offset);
563 void OnTransformIsCurrentlyAnimatingChanged(bool is_animating); 563 void OnTransformIsCurrentlyAnimatingChanged(bool is_animating);
564 void OnTransformIsPotentiallyAnimatingChanged(bool is_animating); 564 void OnTransformIsPotentiallyAnimatingChanged(bool is_animating);
565 void OnOpacityIsCurrentlyAnimatingChanged(bool is_currently_animating); 565 void OnOpacityIsCurrentlyAnimatingChanged(bool is_currently_animating);
566 void OnOpacityIsPotentiallyAnimatingChanged(bool has_potential_animation); 566 void OnOpacityIsPotentiallyAnimatingChanged(bool has_potential_animation);
567 void OnFilterIsCurrentlyAnimatingChanged(bool is_currently_animating);
568 void OnFilterIsPotentiallyAnimatingChanged(bool has_potential_animation);
567 569
568 bool FilterIsAnimating() const; 570 bool FilterIsAnimating() const;
569 bool TransformIsAnimating() const; 571 bool TransformIsAnimating() const;
570 bool ScrollOffsetAnimationWasInterrupted() const; 572 bool ScrollOffsetAnimationWasInterrupted() const;
571 bool HasOnlyTranslationTransforms() const; 573 bool HasOnlyTranslationTransforms() const;
572 574
573 void AddScrollChild(Layer* child); 575 void AddScrollChild(Layer* child);
574 void RemoveScrollChild(Layer* child); 576 void RemoveScrollChild(Layer* child);
575 577
576 void AddClipChild(Layer* child); 578 void AddClipChild(Layer* child);
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
719 // These all act like draw properties, so don't need push properties. 721 // These all act like draw properties, so don't need push properties.
720 gfx::Rect visible_layer_rect_; 722 gfx::Rect visible_layer_rect_;
721 size_t num_unclipped_descendants_; 723 size_t num_unclipped_descendants_;
722 724
723 DISALLOW_COPY_AND_ASSIGN(Layer); 725 DISALLOW_COPY_AND_ASSIGN(Layer);
724 }; 726 };
725 727
726 } // namespace cc 728 } // namespace cc
727 729
728 #endif // CC_LAYERS_LAYER_H_ 730 #endif // CC_LAYERS_LAYER_H_
OLDNEW
« no previous file with comments | « cc/animation/element_animations_unittest.cc ('k') | cc/layers/layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698