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

Side by Side Diff: Source/core/paint/ScrollbarPainter.h

Issue 713553002: Clean up forward declarations in core/rendering and core/painting (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 1 month 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 unified diff | Download patch
« no previous file with comments | « Source/core/paint/SVGInlineTextBoxPainter.h ('k') | Source/core/paint/VideoPainter.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 ScrollbarPainter_h 5 #ifndef ScrollbarPainter_h
6 #define ScrollbarPainter_h 6 #define ScrollbarPainter_h
7 7
8 #include "platform/scroll/Scrollbar.h" 8 #include "platform/scroll/Scrollbar.h"
9 9
10 namespace blink { 10 namespace blink {
11 11
12 class GraphicsContext; 12 class GraphicsContext;
13 struct PaintInfo;
14 class IntRect; 13 class IntRect;
15 class LayoutPoint; 14 class LayoutPoint;
16 class LayoutRect; 15 class LayoutRect;
17 class RenderScrollbar; 16 class RenderScrollbar;
18 class RenderScrollbarPart; 17 class RenderScrollbarPart;
19 18
20 class ScrollbarPainter { 19 class ScrollbarPainter {
21 public: 20 public:
22 ScrollbarPainter(RenderScrollbar& renderScrollbar) : m_renderScrollbar(rende rScrollbar) { } 21 ScrollbarPainter(RenderScrollbar& renderScrollbar) : m_renderScrollbar(rende rScrollbar) { }
23 22
24 void paintPart(GraphicsContext*, ScrollbarPart, const IntRect&); 23 void paintPart(GraphicsContext*, ScrollbarPart, const IntRect&);
25 static void paintIntoRect(RenderScrollbarPart*, GraphicsContext*, const Layo utPoint& paintOffset, const LayoutRect&); 24 static void paintIntoRect(RenderScrollbarPart*, GraphicsContext*, const Layo utPoint& paintOffset, const LayoutRect&);
26 25
27 private: 26 private:
28 RenderScrollbar& m_renderScrollbar; 27 RenderScrollbar& m_renderScrollbar;
29 }; 28 };
30 29
31 } // namespace blink 30 } // namespace blink
32 31
33 #endif // ScrollbarPainter_h 32 #endif // ScrollbarPainter_h
OLDNEW
« no previous file with comments | « Source/core/paint/SVGInlineTextBoxPainter.h ('k') | Source/core/paint/VideoPainter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698