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

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

Issue 2394263004: Reformat comments in core/layout up until LayoutMultiColumnFlowThread (Closed)
Patch Set: Rebase w/HEAD 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/LayoutGeometryMap.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutGeometryMap.h b/third_party/WebKit/Source/core/layout/LayoutGeometryMap.h
index f52af9688622e93c5a0816a9cf5878fa622d5642..2ca8a9d7b7f5660fd67ce217112c28aac6c6accc 100644
--- a/third_party/WebKit/Source/core/layout/LayoutGeometryMap.h
+++ b/third_party/WebKit/Source/core/layout/LayoutGeometryMap.h
@@ -42,7 +42,8 @@ class LayoutBoxModelObject;
class TransformationMatrix;
class TransformState;
-// Can be used while walking the layout tree to cache data about offsets and transforms.
+// Can be used while walking the layout tree to cache data about offsets and
+// transforms.
class CORE_EXPORT LayoutGeometryMap {
DISALLOW_NEW();
WTF_MAKE_NONCOPYABLE(LayoutGeometryMap);
@@ -59,9 +60,10 @@ class CORE_EXPORT LayoutGeometryMap {
return mapToAncestor(rect, 0).boundingBox();
}
- // Map to an ancestor. Will assert that the ancestor has been pushed onto this map.
- // A null ancestor maps through the LayoutView (including its scale transform, if any).
- // If the ancestor is the LayoutView, the scroll offset is applied, but not the scale.
+ // Map to an ancestor. Will assert that the ancestor has been pushed onto this
+ // map. A null ancestor maps through the LayoutView (including its scale
+ // transform, if any). If the ancestor is the LayoutView, the scroll offset is
+ // applied, but not the scale.
FloatQuad mapToAncestor(const FloatRect&, const LayoutBoxModelObject*) const;
// Called by code walking the layout or layer trees.
@@ -71,10 +73,12 @@ class CORE_EXPORT LayoutGeometryMap {
void pushMappingsToAncestor(const LayoutObject*,
const LayoutBoxModelObject* ancestorLayoutObject);
- // The following methods should only be called by layoutObjects inside a call to pushMappingsToAncestor().
+ // The following methods should only be called by layoutObjects inside a call
+ // to pushMappingsToAncestor().
- // Push geometry info between this layoutObject and some ancestor. The ancestor must be its container() or some
- // stacking context between the layoutObject and its container.
+ // Push geometry info between this layoutObject and some ancestor. The
+ // ancestor must be its container() or some stacking context between the
+ // layoutObject and its container.
void push(const LayoutObject*,
const LayoutSize&,
GeometryInfoFlags = 0,

Powered by Google App Engine
This is Rietveld 408576698