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

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

Issue 2463703003: blink: Cleanup core class forward declarations (Closed)
Patch Set: Remove redundant empty lines Created 4 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
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 FilterPainter_h 5 #ifndef FilterPainter_h
6 #define FilterPainter_h 6 #define FilterPainter_h
7 7
8 #include "core/paint/PaintLayerPaintingInfo.h" 8 #include "core/paint/PaintLayerPaintingInfo.h"
9 #include "wtf/Allocator.h" 9 #include "wtf/Allocator.h"
10 #include <memory> 10 #include <memory>
11 11
12 namespace blink { 12 namespace blink {
13 13
14 class ClipRect; 14 class ClipRect;
15 class GraphicsContext; 15 class GraphicsContext;
16 class PaintLayer; 16 class PaintLayer;
17 class LayerClipRecorder; 17 class LayerClipRecorder;
18 class LayoutObject;
18 19
19 class FilterPainter { 20 class FilterPainter {
20 STACK_ALLOCATED(); 21 STACK_ALLOCATED();
21 22
22 public: 23 public:
23 FilterPainter(PaintLayer&, 24 FilterPainter(PaintLayer&,
24 GraphicsContext&, 25 GraphicsContext&,
25 const LayoutPoint& offsetFromRoot, 26 const LayoutPoint& offsetFromRoot,
26 const ClipRect&, 27 const ClipRect&,
27 PaintLayerPaintingInfo&, 28 PaintLayerPaintingInfo&,
28 PaintLayerFlags paintFlags); 29 PaintLayerFlags paintFlags);
29 ~FilterPainter(); 30 ~FilterPainter();
30 31
31 private: 32 private:
32 bool m_filterInProgress; 33 bool m_filterInProgress;
33 GraphicsContext& m_context; 34 GraphicsContext& m_context;
34 std::unique_ptr<LayerClipRecorder> m_clipRecorder; 35 std::unique_ptr<LayerClipRecorder> m_clipRecorder;
35 LayoutObject* m_layoutObject; 36 LayoutObject* m_layoutObject;
36 }; 37 };
37 38
38 } // namespace blink 39 } // namespace blink
39 40
40 #endif // FilterPainter_h 41 #endif // FilterPainter_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/paint/EmbeddedObjectPainter.h ('k') | third_party/WebKit/Source/core/paint/GridPainter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698