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

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

Issue 1033943002: Rename LayoutStyle to papayawhip (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: ensureComputedStyle Created 5 years, 8 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Apple Inc. All rights reserved. 2 * Copyright (C) 2012 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 // column heights changed in the previous pass, since column height changes may affect break points 111 // column heights changed in the previous pass, since column height changes may affect break points
112 // and pagination struts anywhere in the tree, and currently no way exists to do this in a more 112 // and pagination struts anywhere in the tree, and currently no way exists to do this in a more
113 // optimized manner. 113 // optimized manner.
114 // 114 //
115 // There's also some documentation online: 115 // There's also some documentation online:
116 // https://sites.google.com/a/chromium.org/dev/developers/design-documents/multi -column-layout 116 // https://sites.google.com/a/chromium.org/dev/developers/design-documents/multi -column-layout
117 class LayoutMultiColumnFlowThread : public LayoutFlowThread { 117 class LayoutMultiColumnFlowThread : public LayoutFlowThread {
118 public: 118 public:
119 virtual ~LayoutMultiColumnFlowThread(); 119 virtual ~LayoutMultiColumnFlowThread();
120 120
121 static LayoutMultiColumnFlowThread* createAnonymous(Document&, const LayoutS tyle& parentStyle); 121 static LayoutMultiColumnFlowThread* createAnonymous(Document&, const Compute dStyle& parentStyle);
122 122
123 virtual bool isLayoutMultiColumnFlowThread() const override final { return t rue; } 123 virtual bool isLayoutMultiColumnFlowThread() const override final { return t rue; }
124 124
125 LayoutBlockFlow* multiColumnBlockFlow() const { return toLayoutBlockFlow(par ent()); } 125 LayoutBlockFlow* multiColumnBlockFlow() const { return toLayoutBlockFlow(par ent()); }
126 126
127 LayoutMultiColumnSet* firstMultiColumnSet() const; 127 LayoutMultiColumnSet* firstMultiColumnSet() const;
128 LayoutMultiColumnSet* lastMultiColumnSet() const; 128 LayoutMultiColumnSet* lastMultiColumnSet() const;
129 129
130 // Return the first column set or spanner placeholder. 130 // Return the first column set or spanner placeholder.
131 LayoutBox* firstMultiColumnBox() const 131 LayoutBox* firstMultiColumnBox() const
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 LayoutUnit m_columnHeightAvailable; // Total height available to columns, or 0 if auto. 213 LayoutUnit m_columnHeightAvailable; // Total height available to columns, or 0 if auto.
214 bool m_inBalancingPass; // Set when relayouting for column balancing. 214 bool m_inBalancingPass; // Set when relayouting for column balancing.
215 bool m_needsColumnHeightsRecalculation; // Set when we need to recalculate t he column set heights after layout. 215 bool m_needsColumnHeightsRecalculation; // Set when we need to recalculate t he column set heights after layout.
216 bool m_progressionIsInline; // Always true for regular multicol. False for p aged-y overflow. 216 bool m_progressionIsInline; // Always true for regular multicol. False for p aged-y overflow.
217 bool m_isBeingEvacuated; 217 bool m_isBeingEvacuated;
218 }; 218 };
219 219
220 } // namespace blink 220 } // namespace blink
221 221
222 #endif // LayoutMultiColumnFlowThread_h 222 #endif // LayoutMultiColumnFlowThread_h
OLDNEW
« no previous file with comments | « Source/core/layout/LayoutMenuList.cpp ('k') | Source/core/layout/LayoutMultiColumnFlowThread.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698