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

Unified Diff: Source/core/rendering/RenderScrollbar.h

Issue 613503002: Move paint code for RenderScrollbar and RenderScrollbarPart into ScrollbarPainter. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/rendering/RenderLayerScrollableArea.cpp ('k') | Source/core/rendering/RenderScrollbar.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderScrollbar.h
diff --git a/Source/core/rendering/RenderScrollbar.h b/Source/core/rendering/RenderScrollbar.h
index 99b609bed51aafdb3095a4649eb83c571a65b3a5..fccf926b78394f5b33ad660687756cd46d3d2811 100644
--- a/Source/core/rendering/RenderScrollbar.h
+++ b/Source/core/rendering/RenderScrollbar.h
@@ -49,8 +49,6 @@ public:
RenderBox* owningRenderer() const;
- void paintPart(GraphicsContext*, ScrollbarPart, const IntRect&);
-
IntRect buttonRect(ScrollbarPart);
IntRect trackRect(int startLength, int endLength);
IntRect trackPieceRectWithMargins(ScrollbarPart, const IntRect&);
@@ -59,6 +57,8 @@ public:
virtual bool isOverlayScrollbar() const OVERRIDE { return false; }
+ RenderScrollbarPart* getPart(ScrollbarPart partType) { return m_parts.get(partType); }
+
private:
virtual void setParent(Widget*) OVERRIDE;
virtual void setEnabled(bool) OVERRIDE;
« no previous file with comments | « Source/core/rendering/RenderLayerScrollableArea.cpp ('k') | Source/core/rendering/RenderScrollbar.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698