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

Unified Diff: third_party/WebKit/Source/core/layout/FragmentainerIterator.h

Issue 2391893004: Reformat comments in core/layout up until LayoutBox (Closed)
Patch Set: Rebase w/HEAD (again) Created 4 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/layout/FragmentainerIterator.h
diff --git a/third_party/WebKit/Source/core/layout/FragmentainerIterator.h b/third_party/WebKit/Source/core/layout/FragmentainerIterator.h
index b4c39a8252bcefebcba7afdcdab83559081c5063..9e6b381a4d546e2d654728ae28df5bac518cfb7a 100644
--- a/third_party/WebKit/Source/core/layout/FragmentainerIterator.h
+++ b/third_party/WebKit/Source/core/layout/FragmentainerIterator.h
@@ -11,34 +11,37 @@ namespace blink {
class MultiColumnFragmentainerGroup;
-// Used to find the fragmentainers that intersect with a given portion of the flow thread. The
-// portion typically corresponds to the bounds of some descendant layout object. The iterator walks
-// in block direction order.
+// Used to find the fragmentainers that intersect with a given portion of the
+// flow thread. The portion typically corresponds to the bounds of some
+// descendant layout object. The iterator walks in block direction order.
class FragmentainerIterator {
public:
// Initialize the iterator, and move to the first fragmentainer of interest.
- // The clip rectangle is optional. If it's empty, it means that no clipping will be performed,
- // and that the only thing that can limit the set of fragmentainers to visit is
- // |physicalBoundingBox|.
+ // The clip rectangle is optional. If it's empty, it means that no clipping
+ // will be performed, and that the only thing that can limit the set of
+ // fragmentainers to visit is |physicalBoundingBox|.
FragmentainerIterator(
const LayoutFlowThread&,
const LayoutRect& physicalBoundingBoxInFlowThread,
const LayoutRect& clipRectInMulticolContainer = LayoutRect());
- // Advance to the next fragmentainer. Not allowed to call this if atEnd() is true.
+ // Advance to the next fragmentainer. Not allowed to call this if atEnd() is
+ // true.
void advance();
// Return true if we have walked through all relevant fragmentainers.
bool atEnd() const { return !m_currentColumnSet; }
- // The physical translation to apply to shift the box when converting from flowthread to visual
- // coordinates.
+ // The physical translation to apply to shift the box when converting from
+ // flowthread to visual coordinates.
LayoutSize paginationOffset() const;
- // Return the physical content box of the current fragmentainer, relative to the flow thread.
+ // Return the physical content box of the current fragmentainer, relative to
+ // the flow thread.
LayoutRect fragmentainerInFlowThread() const;
- // Return the physical clip rectangle of the current fragmentainer, relative to the flow thread.
+ // Return the physical clip rectangle of the current fragmentainer, relative
+ // to the flow thread.
LayoutRect clipRectInFlowThread() const;
private:

Powered by Google App Engine
This is Rietveld 408576698