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

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

Issue 2875133003: Remove Layer{Impl}::FilterIsAnimating. (Closed)
Patch Set: Sync to head. Created 3 years, 7 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/layers/layer.cc ('k') | cc/layers/layer_impl.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 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_LAYERS_LAYER_IMPL_H_ 5 #ifndef CC_LAYERS_LAYER_IMPL_H_
6 #define CC_LAYERS_LAYER_IMPL_H_ 6 #define CC_LAYERS_LAYER_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 return test_properties_.get(); 169 return test_properties_.get();
170 } 170 }
171 171
172 void SetBackgroundColor(SkColor background_color); 172 void SetBackgroundColor(SkColor background_color);
173 SkColor background_color() const { return background_color_; } 173 SkColor background_color() const { return background_color_; }
174 void SetSafeOpaqueBackgroundColor(SkColor background_color); 174 void SetSafeOpaqueBackgroundColor(SkColor background_color);
175 // If contents_opaque(), return an opaque color else return a 175 // If contents_opaque(), return an opaque color else return a
176 // non-opaque color. Tries to return background_color(), if possible. 176 // non-opaque color. Tries to return background_color(), if possible.
177 SkColor SafeOpaqueBackgroundColor() const; 177 SkColor SafeOpaqueBackgroundColor() const;
178 178
179 bool FilterIsAnimating() const;
180 bool HasPotentiallyRunningFilterAnimation() const; 179 bool HasPotentiallyRunningFilterAnimation() const;
181 180
182 void SetMasksToBounds(bool masks_to_bounds); 181 void SetMasksToBounds(bool masks_to_bounds);
183 bool masks_to_bounds() const { return masks_to_bounds_; } 182 bool masks_to_bounds() const { return masks_to_bounds_; }
184 183
185 void SetContentsOpaque(bool opaque); 184 void SetContentsOpaque(bool opaque);
186 bool contents_opaque() const { return contents_opaque_; } 185 bool contents_opaque() const { return contents_opaque_; }
187 186
188 float Opacity() const; 187 float Opacity() const;
189 const gfx::Transform& Transform() const; 188 const gfx::Transform& Transform() const;
(...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after
579 bool needs_show_scrollbars_ : 1; 578 bool needs_show_scrollbars_ : 1;
580 579
581 bool raster_even_if_not_in_rsll_ : 1; 580 bool raster_even_if_not_in_rsll_ : 1;
582 581
583 DISALLOW_COPY_AND_ASSIGN(LayerImpl); 582 DISALLOW_COPY_AND_ASSIGN(LayerImpl);
584 }; 583 };
585 584
586 } // namespace cc 585 } // namespace cc
587 586
588 #endif // CC_LAYERS_LAYER_IMPL_H_ 587 #endif // CC_LAYERS_LAYER_IMPL_H_
OLDNEW
« 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