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

Side by Side Diff: third_party/WebKit/Source/core/layout/ColumnBalancer.h

Issue 2722313007: Remove some unnecessary using namespaces and add include guards (Closed)
Patch Set: Created 3 years, 9 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 | « no previous file | third_party/WebKit/Source/core/layout/FloatingObjects.cpp » ('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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 ColumnBalancer_h
6 #define ColumnBalancer_h
7
5 #include "core/layout/LayoutMultiColumnSet.h" 8 #include "core/layout/LayoutMultiColumnSet.h"
6 9
7 namespace blink { 10 namespace blink {
8 11
9 // A column balancer traverses a portion of the subtree of a flow thread that 12 // A column balancer traverses a portion of the subtree of a flow thread that
10 // belongs to one or more fragmentainer groups within one column set, in order 13 // belongs to one or more fragmentainer groups within one column set, in order
11 // to collect certain data to be used for column balancing. This is an abstract 14 // to collect certain data to be used for column balancing. This is an abstract
12 // class that just walks the subtree and leaves it to subclasses to actually 15 // class that just walks the subtree and leaves it to subclasses to actually
13 // collect data. 16 // collect data.
14 class ColumnBalancer { 17 class ColumnBalancer {
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 266
264 // Set when breaking before a block, and we're looking for the first 267 // Set when breaking before a block, and we're looking for the first
265 // unbreakable descendant, in order to report correct space shortage for that 268 // unbreakable descendant, in order to report correct space shortage for that
266 // one. 269 // one.
267 LayoutUnit m_pendingStrut; 270 LayoutUnit m_pendingStrut;
268 271
269 unsigned m_forcedBreaksCount; 272 unsigned m_forcedBreaksCount;
270 }; 273 };
271 274
272 } // namespace blink 275 } // namespace blink
276
277 #endif // ColumnBalancer_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/FloatingObjects.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698