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

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

Issue 2839533002: Remove Layer/LayerImpl's FixedContainerSizeDelta (Closed)
Patch Set: Remove FixedContainerSizeDelta 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.h ('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 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 ElementId element_id() const { return element_id_; } 183 ElementId element_id() const { return element_id_; }
184 184
185 void SetMutableProperties(uint32_t properties); 185 void SetMutableProperties(uint32_t properties);
186 uint32_t mutable_properties() const { return mutable_properties_; } 186 uint32_t mutable_properties() const { return mutable_properties_; }
187 187
188 void SetPosition(const gfx::PointF& position); 188 void SetPosition(const gfx::PointF& position);
189 gfx::PointF position() const { return position_; } 189 gfx::PointF position() const { return position_; }
190 190
191 bool IsAffectedByPageScale() const; 191 bool IsAffectedByPageScale() const;
192 192
193 gfx::Vector2dF FixedContainerSizeDelta() const;
194
195 bool Is3dSorted() const { return GetSortingContextId() != 0; } 193 bool Is3dSorted() const { return GetSortingContextId() != 0; }
196 194
197 void SetUseParentBackfaceVisibility(bool use) { 195 void SetUseParentBackfaceVisibility(bool use) {
198 use_parent_backface_visibility_ = use; 196 use_parent_backface_visibility_ = use;
199 } 197 }
200 bool use_parent_backface_visibility() const { 198 bool use_parent_backface_visibility() const {
201 return use_parent_backface_visibility_; 199 return use_parent_backface_visibility_;
202 } 200 }
203 201
204 void SetUseLocalTransformForBackfaceVisibility(bool use_local) { 202 void SetUseLocalTransformForBackfaceVisibility(bool use_local) {
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after
555 // the overlay scrollbars. It's set on the scroll layer (not the scrollbar 553 // the overlay scrollbars. It's set on the scroll layer (not the scrollbar
556 // layers) and consumed by LayerTreeImpl::PushPropertiesTo during activation. 554 // layers) and consumed by LayerTreeImpl::PushPropertiesTo during activation.
557 bool needs_show_scrollbars_ : 1; 555 bool needs_show_scrollbars_ : 1;
558 556
559 DISALLOW_COPY_AND_ASSIGN(LayerImpl); 557 DISALLOW_COPY_AND_ASSIGN(LayerImpl);
560 }; 558 };
561 559
562 } // namespace cc 560 } // namespace cc
563 561
564 #endif // CC_LAYERS_LAYER_IMPL_H_ 562 #endif // CC_LAYERS_LAYER_IMPL_H_
OLDNEW
« no previous file with comments | « cc/layers/layer.h ('k') | cc/layers/layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698