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

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

Issue 1370143007: Oilpan: fix build after r351868. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 unified diff | Download patch
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/heap/Handle.h" 8 #include "platform/heap/Handle.h"
9 #include "platform/scroll/Scrollbar.h" 9 #include "platform/scroll/Scrollbar.h"
10 10
11 namespace blink { 11 namespace blink {
12 12
13 class GraphicsContext; 13 class GraphicsContext;
14 class IntRect; 14 class IntRect;
15 class LayoutPoint; 15 class LayoutPoint;
16 class LayoutRect; 16 class LayoutRect;
17 class LayoutScrollbar; 17 class LayoutScrollbar;
18 class LayoutScrollbarPart; 18 class LayoutScrollbarPart;
19 19
20 class ScrollbarPainter { 20 class ScrollbarPainter {
21 STACK_ALLOCATED(); 21 STACK_ALLOCATED();
22 WTF_MAKE_NONCOPYABLE(ScrollbarPainter); 22 WTF_MAKE_NONCOPYABLE(ScrollbarPainter);
23 public: 23 public:
24 explicit ScrollbarPainter(const LayoutScrollbar& layoutScrollbar) : m_layout Scrollbar(layoutScrollbar) { } 24 explicit ScrollbarPainter(const LayoutScrollbar& layoutScrollbar) : m_layout Scrollbar(&layoutScrollbar) { }
25 25
26 void paintPart(GraphicsContext*, ScrollbarPart, const IntRect&); 26 void paintPart(GraphicsContext*, ScrollbarPart, const IntRect&);
27 static void paintIntoRect(const LayoutScrollbarPart&, GraphicsContext*, cons t LayoutPoint& paintOffset, const LayoutRect&); 27 static void paintIntoRect(const LayoutScrollbarPart&, GraphicsContext*, cons t LayoutPoint& paintOffset, const LayoutRect&);
28 28
29 private: 29 private:
30 const LayoutScrollbar& m_layoutScrollbar; 30 RawPtrWillBeMember<const LayoutScrollbar> m_layoutScrollbar;
31 }; 31 };
32 32
33 } // namespace blink 33 } // namespace blink
34 34
35 #endif // ScrollbarPainter_h 35 #endif // ScrollbarPainter_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/paint/FramePainter.cpp ('k') | third_party/WebKit/Source/core/paint/ScrollbarPainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698