| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef RoundedInnerRectClipper_h | 5 #ifndef RoundedInnerRectClipper_h |
| 6 #define RoundedInnerRectClipper_h | 6 #define RoundedInnerRectClipper_h |
| 7 | 7 |
| 8 #include "platform/graphics/paint/DisplayItem.h" | 8 #include "platform/graphics/paint/DisplayItem.h" |
| 9 #include "wtf/Allocator.h" | 9 #include "platform/wtf/Allocator.h" |
| 10 | 10 |
| 11 namespace blink { | 11 namespace blink { |
| 12 | 12 |
| 13 class FloatRoundedRect; | 13 class FloatRoundedRect; |
| 14 class LayoutRect; | 14 class LayoutRect; |
| 15 class LayoutObject; | 15 class LayoutObject; |
| 16 struct PaintInfo; | 16 struct PaintInfo; |
| 17 | 17 |
| 18 enum RoundedInnerRectClipperBehavior { kApplyToDisplayList, kApplyToContext }; | 18 enum RoundedInnerRectClipperBehavior { kApplyToDisplayList, kApplyToContext }; |
| 19 | 19 |
| (...skipping 11 matching lines...) Expand all Loading... |
| 31 private: | 31 private: |
| 32 const LayoutObject& layout_object_; | 32 const LayoutObject& layout_object_; |
| 33 const PaintInfo& paint_info_; | 33 const PaintInfo& paint_info_; |
| 34 bool use_paint_controller_; | 34 bool use_paint_controller_; |
| 35 DisplayItem::Type clip_type_; | 35 DisplayItem::Type clip_type_; |
| 36 }; | 36 }; |
| 37 | 37 |
| 38 } // namespace blink | 38 } // namespace blink |
| 39 | 39 |
| 40 #endif // RoundedInnerRectClipper_h | 40 #endif // RoundedInnerRectClipper_h |
| OLD | NEW |