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

Side by Side Diff: sky/engine/core/rendering/RenderLayerStackingNode.h

Issue 953673002: Delete RenderLayerModelObject. (Closed) Base URL: git@github.com:domokit/mojo.git@master
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
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 27 matching lines...) Expand all
38 * version of this file under the LGPL, indicate your decision by 38 * version of this file under the LGPL, indicate your decision by
39 * deletingthe provisions above and replace them with the notice and 39 * deletingthe provisions above and replace them with the notice and
40 * other provisions required by the MPL or the GPL, as the case may be. 40 * other provisions required by the MPL or the GPL, as the case may be.
41 * If you do not delete the provisions above, a recipient may use your 41 * If you do not delete the provisions above, a recipient may use your
42 * version of this file under any of the LGPL, the MPL or the GPL. 42 * version of this file under any of the LGPL, the MPL or the GPL.
43 */ 43 */
44 44
45 #ifndef SKY_ENGINE_CORE_RENDERING_RENDERLAYERSTACKINGNODE_H_ 45 #ifndef SKY_ENGINE_CORE_RENDERING_RENDERLAYERSTACKINGNODE_H_
46 #define SKY_ENGINE_CORE_RENDERING_RENDERLAYERSTACKINGNODE_H_ 46 #define SKY_ENGINE_CORE_RENDERING_RENDERLAYERSTACKINGNODE_H_
47 47
48 #include "sky/engine/core/rendering/RenderLayerModelObject.h" 48 #include "sky/engine/core/rendering/RenderBox.h"
49 #include "sky/engine/wtf/Noncopyable.h" 49 #include "sky/engine/wtf/Noncopyable.h"
50 #include "sky/engine/wtf/OwnPtr.h" 50 #include "sky/engine/wtf/OwnPtr.h"
51 #include "sky/engine/wtf/Vector.h" 51 #include "sky/engine/wtf/Vector.h"
52 52
53 namespace blink { 53 namespace blink {
54 54
55 class RenderLayer; 55 class RenderLayer;
56 class RenderStyle; 56 class RenderStyle;
57 57
58 class RenderLayerStackingNode { 58 class RenderLayerStackingNode {
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 void setStackingParent(RenderLayerStackingNode* stackingParent) { m_stacking Parent = stackingParent; } 127 void setStackingParent(RenderLayerStackingNode* stackingParent) { m_stacking Parent = stackingParent; }
128 #endif 128 #endif
129 129
130 bool shouldBeNormalFlowOnly() const; 130 bool shouldBeNormalFlowOnly() const;
131 131
132 void updateNormalFlowList(); 132 void updateNormalFlowList();
133 133
134 bool isDirtyStackingContext() const { return m_zOrderListsDirty && isStackin gContext(); } 134 bool isDirtyStackingContext() const { return m_zOrderListsDirty && isStackin gContext(); }
135 135
136 // FIXME: Investigate changing this to Renderbox. 136 // FIXME: Investigate changing this to Renderbox.
137 RenderLayerModelObject* renderer() const; 137 RenderBox* renderer() const;
138 138
139 RenderLayer* m_layer; 139 RenderLayer* m_layer;
140 140
141 // m_zOrderList holds a sorted list of all the descendant nodes within 141 // m_zOrderList holds a sorted list of all the descendant nodes within
142 // that have z-indices of 0 or greater (auto will count as 0). 142 // that have z-indices of 0 or greater (auto will count as 0).
143 OwnPtr<Vector<RenderLayerStackingNode*> > m_zOrderList; 143 OwnPtr<Vector<RenderLayerStackingNode*> > m_zOrderList;
144 144
145 // This list contains child nodes that cannot create stacking contexts. 145 // This list contains child nodes that cannot create stacking contexts.
146 OwnPtr<Vector<RenderLayerStackingNode*> > m_normalFlowList; 146 OwnPtr<Vector<RenderLayerStackingNode*> > m_normalFlowList;
147 147
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 197
198 private: 198 private:
199 RenderLayerStackingNode* m_stackingNode; 199 RenderLayerStackingNode* m_stackingNode;
200 bool m_previousMutationAllowedState; 200 bool m_previousMutationAllowedState;
201 }; 201 };
202 #endif 202 #endif
203 203
204 } // namespace blink 204 } // namespace blink
205 205
206 #endif // SKY_ENGINE_CORE_RENDERING_RENDERLAYERSTACKINGNODE_H_ 206 #endif // SKY_ENGINE_CORE_RENDERING_RENDERLAYERSTACKINGNODE_H_
OLDNEW
« no previous file with comments | « sky/engine/core/rendering/RenderLayerModelObject.cpp ('k') | sky/engine/core/rendering/RenderLayerStackingNode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698