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

Unified Diff: cc/layers/layer_impl.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/layers/layer.cc ('k') | cc/layers/layer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/layer_impl.h
diff --git a/cc/layers/layer_impl.h b/cc/layers/layer_impl.h
index a2136dba702315fa08782b6e8d8f55f6b22d345c..a3c621dd3577e7b350fb0880afd864e84ba66895 100644
--- a/cc/layers/layer_impl.h
+++ b/cc/layers/layer_impl.h
@@ -102,6 +102,8 @@ class CC_EXPORT LayerImpl {
void OnTransformIsPotentiallyAnimatingChanged(bool has_potential_animation);
void OnOpacityIsCurrentlyAnimatingChanged(bool is_currently_animating);
void OnOpacityIsPotentiallyAnimatingChanged(bool has_potential_animation);
+ void OnFilterIsCurrentlyAnimatingChanged(bool is_currently_animating);
+ void OnFilterIsPotentiallyAnimatingChanged(bool has_potential_animation);
bool IsActive() const;
void DistributeScroll(ScrollState* scroll_state);
@@ -192,8 +194,6 @@ class CC_EXPORT LayerImpl {
// non-opaque color. Tries to return background_color(), if possible.
SkColor SafeOpaqueBackgroundColor() const;
- void SetFilters(const FilterOperations& filters);
- const FilterOperations& filters() const { return filters_; }
bool FilterIsAnimating() const;
bool HasPotentiallyRunningFilterAnimation() const;
@@ -553,8 +553,6 @@ class CC_EXPORT LayerImpl {
int clip_tree_index_;
int scroll_tree_index_;
- FilterOperations filters_;
-
protected:
friend class TreeSynchronizer;
« no previous file with comments | « cc/layers/layer.cc ('k') | cc/layers/layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698