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

Side by Side Diff: Source/core/layout/LayerStackingNode.h

Issue 926193003: Move rendering/RenderBox to layout/LayoutBox. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/layout/LayerScrollableArea.cpp ('k') | Source/core/layout/LayoutBox.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2003, 2009, 2012 Apple Inc. All rights reserved. 2 * Copyright (C) 2003, 2009, 2012 Apple Inc. All rights reserved.
3 * Copyright (C) 2013 Intel Corporation. All rights reserved. 3 * Copyright (C) 2013 Intel Corporation. All rights reserved.
4 * 4 *
5 * Portions are Copyright (C) 1998 Netscape Communications Corporation. 5 * Portions are Copyright (C) 1998 Netscape Communications Corporation.
6 * 6 *
7 * Other contributors: 7 * Other contributors:
8 * Robert O'Callahan <roc+@cs.cmu.edu> 8 * Robert O'Callahan <roc+@cs.cmu.edu>
9 * David Baron <dbaron@fas.harvard.edu> 9 * David Baron <dbaron@fas.harvard.edu>
10 * Christian Biesinger <cbiesinger@web.de> 10 * Christian Biesinger <cbiesinger@web.de>
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 void setStackingParent(LayerStackingNode* stackingParent) { m_stackingParent = stackingParent; } 133 void setStackingParent(LayerStackingNode* stackingParent) { m_stackingParent = stackingParent; }
134 #endif 134 #endif
135 135
136 bool shouldBeNormalFlowOnly() const; 136 bool shouldBeNormalFlowOnly() const;
137 137
138 void updateNormalFlowList(); 138 void updateNormalFlowList();
139 139
140 bool isDirtyStackingContext() const { return m_zOrderListsDirty && isStackin gContext(); } 140 bool isDirtyStackingContext() const { return m_zOrderListsDirty && isStackin gContext(); }
141 141
142 LayerCompositor* compositor() const; 142 LayerCompositor* compositor() const;
143 // We can't return a RenderBox as RenderInline can be a stacking context. 143 // We can't return a LayoutBox as RenderInline can be a stacking context.
144 LayoutBoxModelObject* renderer() const; 144 LayoutBoxModelObject* renderer() const;
145 145
146 Layer* m_layer; 146 Layer* m_layer;
147 147
148 // m_posZOrderList holds a sorted list of all the descendant nodes within 148 // m_posZOrderList holds a sorted list of all the descendant nodes within
149 // that have z-indices of 0 or greater (auto will count as 0). 149 // that have z-indices of 0 or greater (auto will count as 0).
150 // m_negZOrderList holds descendants within our stacking context with 150 // m_negZOrderList holds descendants within our stacking context with
151 // negative z-indices. 151 // negative z-indices.
152 OwnPtr<Vector<LayerStackingNode*>> m_posZOrderList; 152 OwnPtr<Vector<LayerStackingNode*>> m_posZOrderList;
153 OwnPtr<Vector<LayerStackingNode*>> m_negZOrderList; 153 OwnPtr<Vector<LayerStackingNode*>> m_negZOrderList;
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 208
209 private: 209 private:
210 LayerStackingNode* m_stackingNode; 210 LayerStackingNode* m_stackingNode;
211 bool m_previousMutationAllowedState; 211 bool m_previousMutationAllowedState;
212 }; 212 };
213 #endif 213 #endif
214 214
215 } // namespace blink 215 } // namespace blink
216 216
217 #endif // LayerStackingNode_h 217 #endif // LayerStackingNode_h
OLDNEW
« no previous file with comments | « Source/core/layout/LayerScrollableArea.cpp ('k') | Source/core/layout/LayoutBox.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698