| 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 ScrollableAreaPainter_h | 5 #ifndef ScrollableAreaPainter_h |
| 6 #define ScrollableAreaPainter_h | 6 #define ScrollableAreaPainter_h |
| 7 | 7 |
| 8 #include "platform/heap/Handle.h" | 8 #include "platform/heap/Handle.h" |
| 9 | 9 |
| 10 namespace blink { | 10 namespace blink { |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 void paintResizer(GraphicsContext&, const IntPoint& paintOffset, const CullR
ect&); | 24 void paintResizer(GraphicsContext&, const IntPoint& paintOffset, const CullR
ect&); |
| 25 void paintOverflowControls(GraphicsContext&, const IntPoint& paintOffset, co
nst CullRect&, bool paintingOverlayControls); | 25 void paintOverflowControls(GraphicsContext&, const IntPoint& paintOffset, co
nst CullRect&, bool paintingOverlayControls); |
| 26 void paintScrollCorner(GraphicsContext&, const IntPoint&, const CullRect&); | 26 void paintScrollCorner(GraphicsContext&, const IntPoint&, const CullRect&); |
| 27 | 27 |
| 28 private: | 28 private: |
| 29 void drawPlatformResizerImage(GraphicsContext&, IntRect resizerCornerRect); | 29 void drawPlatformResizerImage(GraphicsContext&, IntRect resizerCornerRect); |
| 30 bool overflowControlsIntersectRect(const CullRect&) const; | 30 bool overflowControlsIntersectRect(const CullRect&) const; |
| 31 | 31 |
| 32 PaintLayerScrollableArea& getScrollableArea() const; | 32 PaintLayerScrollableArea& getScrollableArea() const; |
| 33 | 33 |
| 34 RawPtrWillBeMember<PaintLayerScrollableArea> m_scrollableArea; | 34 Member<PaintLayerScrollableArea> m_scrollableArea; |
| 35 }; | 35 }; |
| 36 | 36 |
| 37 } // namespace blink | 37 } // namespace blink |
| 38 | 38 |
| 39 #endif // ScrollableAreaPainter_h | 39 #endif // ScrollableAreaPainter_h |
| OLD | NEW |