| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 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 FloatClipRecorder_h | 5 #ifndef FloatClipRecorder_h |
| 6 #define FloatClipRecorder_h | 6 #define FloatClipRecorder_h |
| 7 | 7 |
| 8 #include "core/rendering/RenderObject.h" | 8 #include "core/layout/LayoutObject.h" |
| 9 #include "platform/geometry/FloatRect.h" | 9 #include "platform/geometry/FloatRect.h" |
| 10 #include "platform/graphics/paint/DisplayItem.h" | 10 #include "platform/graphics/paint/DisplayItem.h" |
| 11 | 11 |
| 12 namespace blink { | 12 namespace blink { |
| 13 | 13 |
| 14 class FloatClipRecorder { | 14 class FloatClipRecorder { |
| 15 public: | 15 public: |
| 16 FloatClipRecorder(GraphicsContext&, DisplayItemClient, PaintPhase, const Flo
atRect&); | 16 FloatClipRecorder(GraphicsContext&, DisplayItemClient, PaintPhase, const Flo
atRect&); |
| 17 ~FloatClipRecorder(); | 17 ~FloatClipRecorder(); |
| 18 | 18 |
| 19 private: | 19 private: |
| 20 GraphicsContext& m_context; | 20 GraphicsContext& m_context; |
| 21 DisplayItemClient m_client; | 21 DisplayItemClient m_client; |
| 22 DisplayItem::Type m_clipType; | 22 DisplayItem::Type m_clipType; |
| 23 }; | 23 }; |
| 24 | 24 |
| 25 } // namespace blink | 25 } // namespace blink |
| 26 | 26 |
| 27 #endif // FloatClipRecorder_h | 27 #endif // FloatClipRecorder_h |
| OLD | NEW |