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

Unified Diff: Source/core/page/scrolling/ScrollingConstraints.h

Issue 20294002: Fix trailing whitespace in .cpp, .h, and .idl files (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 7 years, 5 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: Source/core/page/scrolling/ScrollingConstraints.h
diff --git a/Source/core/page/scrolling/ScrollingConstraints.h b/Source/core/page/scrolling/ScrollingConstraints.h
index a1fec2f6ae0efce7c3530c9cda92d0897768d39a..8e7b0c74f85e8b6db7cd4c338cbaf07a842201c8 100644
--- a/Source/core/page/scrolling/ScrollingConstraints.h
+++ b/Source/core/page/scrolling/ScrollingConstraints.h
@@ -51,16 +51,16 @@ public:
: m_alignmentOffset(other.m_alignmentOffset)
, m_anchorEdges(other.m_anchorEdges)
{ }
-
+
virtual ~ViewportConstraints() { }
-
+
virtual ConstraintType constraintType() const = 0;
-
+
AnchorEdges anchorEdges() const { return m_anchorEdges; }
bool hasAnchorEdge(AnchorEdgeFlags flag) const { return m_anchorEdges & flag; }
void addAnchorEdge(AnchorEdgeFlags edgeFlag) { m_anchorEdges |= edgeFlag; }
void setAnchorEdges(AnchorEdges edges) { m_anchorEdges = edges; }
-
+
FloatSize alignmentOffset() const { return m_alignmentOffset; }
void setAlignmentOffset(const FloatSize& offset) { m_alignmentOffset = offset; }
@@ -84,7 +84,7 @@ public:
, m_viewportRectAtLastLayout(other.m_viewportRectAtLastLayout)
, m_layerPositionAtLastLayout(other.m_layerPositionAtLastLayout)
{ }
-
+
FloatPoint layerPositionForViewportRect(const FloatRect& viewportRect) const;
const FloatRect& viewportRectAtLastLayout() const { return m_viewportRectAtLastLayout; }
« no previous file with comments | « Source/core/page/animation/KeyframeAnimation.cpp ('k') | Source/core/page/scrolling/ScrollingConstraints.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698