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

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

Issue 2866733002: Remove owning_id from EffectNode and replace it by an opaque stable_id (Closed)
Patch Set: none 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 169
170 bool FilterIsAnimating() const; 170 bool FilterIsAnimating() const;
171 bool HasPotentiallyRunningFilterAnimation() const; 171 bool HasPotentiallyRunningFilterAnimation() const;
172 172
173 void SetMasksToBounds(bool masks_to_bounds); 173 void SetMasksToBounds(bool masks_to_bounds);
174 bool masks_to_bounds() const { return masks_to_bounds_; } 174 bool masks_to_bounds() const { return masks_to_bounds_; }
175 175
176 void SetContentsOpaque(bool opaque); 176 void SetContentsOpaque(bool opaque);
177 bool contents_opaque() const { return contents_opaque_; } 177 bool contents_opaque() const { return contents_opaque_; }
178 178
179 float Opacity() const;
180 const gfx::Transform& Transform() const; 179 const gfx::Transform& Transform() const;
181 180
182 // Stable identifier for clients. See comment in cc/trees/element_id.h. 181 // Stable identifier for clients. See comment in cc/trees/element_id.h.
183 void SetElementId(ElementId element_id); 182 void SetElementId(ElementId element_id);
184 ElementId element_id() const { return element_id_; } 183 ElementId element_id() const { return element_id_; }
185 184
186 void SetMutableProperties(uint32_t properties); 185 void SetMutableProperties(uint32_t properties);
187 uint32_t mutable_properties() const { return mutable_properties_; } 186 uint32_t mutable_properties() const { return mutable_properties_; }
188 187
189 void SetPosition(const gfx::PointF& position); 188 void SetPosition(const gfx::PointF& position);
(...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after
558 bool needs_show_scrollbars_ : 1; 557 bool needs_show_scrollbars_ : 1;
559 558
560 bool raster_even_if_not_in_rsll_ : 1; 559 bool raster_even_if_not_in_rsll_ : 1;
561 560
562 DISALLOW_COPY_AND_ASSIGN(LayerImpl); 561 DISALLOW_COPY_AND_ASSIGN(LayerImpl);
563 }; 562 };
564 563
565 } // namespace cc 564 } // namespace cc
566 565
567 #endif // CC_LAYERS_LAYER_IMPL_H_ 566 #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