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

Side by Side Diff: third_party/WebKit/Source/platform/graphics/compositing/PaintChunksToCcLayer.h

Issue 2793993003: Make GeometryMapper fully static (Closed)
Patch Set: Created 3 years, 8 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 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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 PaintChunksToCcLayer_h 5 #ifndef PaintChunksToCcLayer_h
6 #define PaintChunksToCcLayer_h 6 #define PaintChunksToCcLayer_h
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "platform/PlatformExport.h" 9 #include "platform/PlatformExport.h"
10 #include "wtf/Vector.h" 10 #include "wtf/Vector.h"
11 11
12 namespace cc { 12 namespace cc {
13 class DisplayItemList; 13 class DisplayItemList;
14 } // namespace cc 14 } // namespace cc
15 15
16 namespace gfx { 16 namespace gfx {
17 class Vector2dF; 17 class Vector2dF;
18 } // namespace gfx 18 } // namespace gfx
19 19
20 namespace blink { 20 namespace blink {
21 21
22 class DisplayItemList; 22 class DisplayItemList;
23 class GeometryMapper;
24 struct PaintChunk; 23 struct PaintChunk;
25 class PropertyTreeState; 24 class PropertyTreeState;
26 25
27 class PLATFORM_EXPORT PaintChunksToCcLayer { 26 class PLATFORM_EXPORT PaintChunksToCcLayer {
28 public: 27 public:
29 static scoped_refptr<cc::DisplayItemList> convert( 28 static scoped_refptr<cc::DisplayItemList> convert(
30 const Vector<const PaintChunk*>&, 29 const Vector<const PaintChunk*>&,
31 const PropertyTreeState& layerState, 30 const PropertyTreeState& layerState,
32 const gfx::Vector2dF& layerOffset, 31 const gfx::Vector2dF& layerOffset,
33 const DisplayItemList&, 32 const DisplayItemList&);
34 GeometryMapper&);
35 }; 33 };
36 34
37 } // namespace blink 35 } // namespace blink
38 36
39 #endif // PaintArtifactCompositor_h 37 #endif // PaintArtifactCompositor_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698