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

Side by Side Diff: Source/core/paint/ContentBoxRadiusClipper.h

Issue 865353002: Implement clip and scroll DisplayItems for PartPainter (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 11 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef ContentBoxRadiusClipper_h
6 #define ContentBoxRadiusClipper_h
7
8 #include "core/rendering/PaintPhase.h"
9 #include "platform/geometry/LayoutPoint.h"
10
11 namespace blink {
12
13 class RenderBox;
14 struct PaintInfo;
15
16 class ContentBoxRadiusClipper {
17 public:
18 ContentBoxRadiusClipper(RenderBox&, const PaintInfo&, const LayoutPoint& acc umulatedOffset);
19 ~ContentBoxRadiusClipper();
20 bool completelyClipped() { return m_completelyClipped; }
21
22 private:
23 RenderBox& m_box;
24 const PaintInfo& m_paintInfo;
25 bool m_pushedClip;
26 bool m_completelyClipped;
27 };
28
29 } // namespace blink
30
31 #endif // ContentBoxRadiusClipper_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698