1 // Copyright 2014 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.
8 #include "platform/geometry/LayoutPoint.h"
9 #include "platform/graphics/paint/DisplayItem.h"
10 #include "wtf/Allocator.h"
17 enum ContentsClipBehavior
{ ForceContentsClip
, SkipContentsClipIfPossible
};
22 BoxClipper(const LayoutBox
&, const PaintInfo
&, const LayoutPoint
& accumulatedOffset
, ContentsClipBehavior
);
25 const LayoutBox
& m_box
;
26 const PaintInfo
& m_paintInfo
;
27 DisplayItem::Type m_clipType
;
32 #endif // BoxClipper_h