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

Side by Side Diff: third_party/WebKit/Source/core/paint/FramePainter.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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/paint/FramePainter.cpp » ('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 FramePainter_h 5 #ifndef FramePainter_h
6 #define FramePainter_h 6 #define FramePainter_h
7 7
8 #include "core/paint/PaintPhase.h" 8 #include "core/paint/PaintPhase.h"
9 #include "platform/heap/Handle.h" 9 #include "platform/heap/Handle.h"
10 10
11 namespace blink { 11 namespace blink {
12 12
13 class FrameView; 13 class FrameView;
14 class GraphicsContext; 14 class GraphicsContext;
15 class IntRect; 15 class IntRect;
16 class Scrollbar; 16 class Scrollbar;
17 17
18 class FramePainter { 18 class FramePainter {
19 STACK_ALLOCATED(); 19 STACK_ALLOCATED();
20 WTF_MAKE_NONCOPYABLE(FramePainter); 20 WTF_MAKE_NONCOPYABLE(FramePainter);
21 public: 21 public:
22 explicit FramePainter(const FrameView& frameView) : m_frameView(frameView) { } 22 explicit FramePainter(const FrameView& frameView) : m_frameView(&frameView) { }
23 23
24 void paint(GraphicsContext*, const GlobalPaintFlags, const IntRect&); 24 void paint(GraphicsContext*, const GlobalPaintFlags, const IntRect&);
25 void paintScrollbars(GraphicsContext*, const IntRect&); 25 void paintScrollbars(GraphicsContext*, const IntRect&);
26 void paintContents(GraphicsContext*, const GlobalPaintFlags, const IntRect& damageRect); 26 void paintContents(GraphicsContext*, const GlobalPaintFlags, const IntRect& damageRect);
27 void paintScrollCorner(GraphicsContext*, const IntRect& cornerRect); 27 void paintScrollCorner(GraphicsContext*, const IntRect& cornerRect);
28 28
29 private: 29 private:
30 void paintScrollbar(GraphicsContext*, Scrollbar*, const IntRect&); 30 void paintScrollbar(GraphicsContext*, Scrollbar*, const IntRect&);
31 31
32 const FrameView& m_frameView; 32 const FrameView& frameView();
33
34 RawPtrWillBeMember<const FrameView> m_frameView;
33 static bool s_inPaintContents; 35 static bool s_inPaintContents;
34 }; 36 };
35 37
36 } // namespace blink 38 } // namespace blink
37 39
38 #endif // FramePainter_h 40 #endif // FramePainter_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/paint/FramePainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698