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

Side by Side Diff: third_party/WebKit/Source/platform/graphics/paint/PaintArtifact.h

Issue 2466383004: blink: Cleanup class forward declarations (Closed)
Patch Set: 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 PaintArtifact_h 5 #ifndef PaintArtifact_h
6 #define PaintArtifact_h 6 #define PaintArtifact_h
7 7
8 #include "platform/PlatformExport.h" 8 #include "platform/PlatformExport.h"
9 #include "platform/graphics/paint/DisplayItemList.h" 9 #include "platform/graphics/paint/DisplayItemList.h"
10 #include "platform/graphics/paint/PaintChunk.h" 10 #include "platform/graphics/paint/PaintChunk.h"
11 #include "wtf/Allocator.h" 11 #include "wtf/Allocator.h"
12 #include "wtf/Noncopyable.h" 12 #include "wtf/Noncopyable.h"
13 #include "wtf/Vector.h" 13 #include "wtf/Vector.h"
14 14
15 namespace blink { 15 namespace blink {
16 16
17 class GraphicsContext; 17 class GraphicsContext;
18 class GraphicsLayer;
19 class WebDisplayItemList; 18 class WebDisplayItemList;
20 19
21 // The output of painting, consisting of a series of drawings in paint order, 20 // The output of painting, consisting of a series of drawings in paint order,
22 // partitioned into discontiguous chunks with a common set of paint properties 21 // partitioned into discontiguous chunks with a common set of paint properties
23 // (i.e. associated with the same transform, clip, effects, etc.). 22 // (i.e. associated with the same transform, clip, effects, etc.).
24 // 23 //
25 // It represents a particular state of the world, and should be immutable 24 // It represents a particular state of the world, and should be immutable
26 // (const) to most of its users. 25 // (const) to most of its users.
27 // 26 //
28 // Unless its dangerous accessors are used, it promises to be in a reasonable 27 // Unless its dangerous accessors are used, it promises to be in a reasonable
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 77
79 private: 78 private:
80 DisplayItemList m_displayItemList; 79 DisplayItemList m_displayItemList;
81 Vector<PaintChunk> m_paintChunks; 80 Vector<PaintChunk> m_paintChunks;
82 bool m_isSuitableForGpuRasterization; 81 bool m_isSuitableForGpuRasterization;
83 }; 82 };
84 83
85 } // namespace blink 84 } // namespace blink
86 85
87 #endif // PaintArtifact_h 86 #endif // PaintArtifact_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698