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

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

Issue 898783003: Move rendering/RenderLayer* to layout/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/paint/ReplicaPainter.cpp ('k') | Source/core/paint/ScrollableAreaPainter.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 ScrollableAreaPainter_h 5 #ifndef ScrollableAreaPainter_h
6 #define ScrollableAreaPainter_h 6 #define ScrollableAreaPainter_h
7 7
8 namespace blink { 8 namespace blink {
9 9
10 class GraphicsContext; 10 class GraphicsContext;
11 class IntPoint; 11 class IntPoint;
12 class IntRect; 12 class IntRect;
13 class RenderLayerScrollableArea; 13 class LayerScrollableArea;
14 14
15 class ScrollableAreaPainter { 15 class ScrollableAreaPainter {
16 public: 16 public:
17 ScrollableAreaPainter(RenderLayerScrollableArea& renderLayerScrollableArea) : m_renderLayerScrollableArea(renderLayerScrollableArea) { } 17 ScrollableAreaPainter(LayerScrollableArea& renderLayerScrollableArea) : m_re nderLayerScrollableArea(renderLayerScrollableArea) { }
18 18
19 void paintResizer(GraphicsContext*, const IntPoint& paintOffset, const IntRe ct& damageRect); 19 void paintResizer(GraphicsContext*, const IntPoint& paintOffset, const IntRe ct& damageRect);
20 void paintOverflowControls(GraphicsContext*, const IntPoint& paintOffset, co nst IntRect& damageRect, bool paintingOverlayControls); 20 void paintOverflowControls(GraphicsContext*, const IntPoint& paintOffset, co nst IntRect& damageRect, bool paintingOverlayControls);
21 void paintScrollCorner(GraphicsContext*, const IntPoint&, const IntRect& dam ageRect); 21 void paintScrollCorner(GraphicsContext*, const IntPoint&, const IntRect& dam ageRect);
22 22
23 private: 23 private:
24 void drawPlatformResizerImage(GraphicsContext*, IntRect resizerCornerRect); 24 void drawPlatformResizerImage(GraphicsContext*, IntRect resizerCornerRect);
25 bool overflowControlsIntersectRect(const IntRect& localRect) const; 25 bool overflowControlsIntersectRect(const IntRect& localRect) const;
26 26
27 RenderLayerScrollableArea& m_renderLayerScrollableArea; 27 LayerScrollableArea& m_renderLayerScrollableArea;
28 }; 28 };
29 29
30 } // namespace blink 30 } // namespace blink
31 31
32 #endif // ScrollableAreaPainter_h 32 #endif // ScrollableAreaPainter_h
OLDNEW
« no previous file with comments | « Source/core/paint/ReplicaPainter.cpp ('k') | Source/core/paint/ScrollableAreaPainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698