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

Unified Diff: Source/core/paint/BoxClipper.h

Issue 732093002: Move RenderBoxClipper to core/paint/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 1 month 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
« no previous file with comments | « Source/core/paint/BlockPainter.cpp ('k') | Source/core/paint/BoxClipper.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/paint/BoxClipper.h
diff --git a/Source/core/rendering/RenderBoxClipper.h b/Source/core/paint/BoxClipper.h
similarity index 72%
rename from Source/core/rendering/RenderBoxClipper.h
rename to Source/core/paint/BoxClipper.h
index 67d3803ca937c5c8c3273ec5515ab904a7f07d8d..aa43e9f8d9f86b69d08a24d409f9595b265cb745 100644
--- a/Source/core/rendering/RenderBoxClipper.h
+++ b/Source/core/paint/BoxClipper.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef RenderBoxClipper_h
-#define RenderBoxClipper_h
+#ifndef BoxClipper_h
+#define BoxClipper_h
#include "core/rendering/PaintPhase.h"
#include "platform/geometry/LayoutPoint.h"
@@ -15,10 +15,10 @@ struct PaintInfo;
enum ContentsClipBehavior { ForceContentsClip, SkipContentsClipIfPossible };
-class RenderBoxClipper {
+class BoxClipper {
public:
- RenderBoxClipper(RenderBox&, PaintInfo&, const LayoutPoint& accumulatedOffset, ContentsClipBehavior);
- ~RenderBoxClipper();
+ BoxClipper(RenderBox&, PaintInfo&, const LayoutPoint& accumulatedOffset, ContentsClipBehavior);
+ ~BoxClipper();
bool pushedClip() { return m_pushedClip; }
private:
@@ -31,4 +31,4 @@ private:
} // namespace blink
-#endif // RenderBoxClipper_h
+#endif // BoxClipper_h
« no previous file with comments | « Source/core/paint/BlockPainter.cpp ('k') | Source/core/paint/BoxClipper.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698