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

Unified Diff: Source/core/rendering/RenderBoxClipper.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/TableSectionPainter.cpp ('k') | Source/core/rendering/RenderBoxClipper.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderBoxClipper.h
diff --git a/Source/core/rendering/RenderBoxClipper.h b/Source/core/rendering/RenderBoxClipper.h
deleted file mode 100644
index 67d3803ca937c5c8c3273ec5515ab904a7f07d8d..0000000000000000000000000000000000000000
--- a/Source/core/rendering/RenderBoxClipper.h
+++ /dev/null
@@ -1,34 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// 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
-
-#include "core/rendering/PaintPhase.h"
-#include "platform/geometry/LayoutPoint.h"
-
-namespace blink {
-
-class RenderBox;
-struct PaintInfo;
-
-enum ContentsClipBehavior { ForceContentsClip, SkipContentsClipIfPossible };
-
-class RenderBoxClipper {
-public:
- RenderBoxClipper(RenderBox&, PaintInfo&, const LayoutPoint& accumulatedOffset, ContentsClipBehavior);
- ~RenderBoxClipper();
-
- bool pushedClip() { return m_pushedClip; }
-private:
- bool m_pushedClip;
- LayoutPoint m_accumulatedOffset;
- PaintInfo& m_paintInfo;
- PaintPhase m_originalPhase;
- RenderBox& m_box;
-};
-
-} // namespace blink
-
-#endif // RenderBoxClipper_h
« no previous file with comments | « Source/core/paint/TableSectionPainter.cpp ('k') | Source/core/rendering/RenderBoxClipper.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698