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

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

Issue 2798513002: Revert of 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;
23 struct PaintChunk; 24 struct PaintChunk;
24 class PropertyTreeState; 25 class PropertyTreeState;
25 26
26 class PLATFORM_EXPORT PaintChunksToCcLayer { 27 class PLATFORM_EXPORT PaintChunksToCcLayer {
27 public: 28 public:
28 static scoped_refptr<cc::DisplayItemList> convert( 29 static scoped_refptr<cc::DisplayItemList> convert(
29 const Vector<const PaintChunk*>&, 30 const Vector<const PaintChunk*>&,
30 const PropertyTreeState& layerState, 31 const PropertyTreeState& layerState,
31 const gfx::Vector2dF& layerOffset, 32 const gfx::Vector2dF& layerOffset,
32 const DisplayItemList&); 33 const DisplayItemList&,
34 GeometryMapper&);
33 }; 35 };
34 36
35 } // namespace blink 37 } // namespace blink
36 38
37 #endif // PaintArtifactCompositor_h 39 #endif // PaintArtifactCompositor_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698