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

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

Issue 2547053003: s/ passed(...) / WTF::passed(...) / to avoid future ambiguity w/ base::Passed. (Closed)
Patch Set: Rebasing... Created 4 years 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 PaintArtifactCompositor_h 5 #ifndef PaintArtifactCompositor_h
6 #define PaintArtifactCompositor_h 6 #define PaintArtifactCompositor_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 "platform/RuntimeEnabledFeatures.h" 10 #include "platform/RuntimeEnabledFeatures.h"
(...skipping 26 matching lines...) Expand all
37 // 37 //
38 // PaintArtifactCompositor is the successor to PaintLayerCompositor, reflecting 38 // PaintArtifactCompositor is the successor to PaintLayerCompositor, reflecting
39 // the new home of compositing decisions after paint in Slimming Paint v2. 39 // the new home of compositing decisions after paint in Slimming Paint v2.
40 class PLATFORM_EXPORT PaintArtifactCompositor { 40 class PLATFORM_EXPORT PaintArtifactCompositor {
41 WTF_MAKE_NONCOPYABLE(PaintArtifactCompositor); 41 WTF_MAKE_NONCOPYABLE(PaintArtifactCompositor);
42 42
43 public: 43 public:
44 ~PaintArtifactCompositor(); 44 ~PaintArtifactCompositor();
45 45
46 static std::unique_ptr<PaintArtifactCompositor> create() { 46 static std::unique_ptr<PaintArtifactCompositor> create() {
47 return wrapUnique(new PaintArtifactCompositor()); 47 return WTF::wrapUnique(new PaintArtifactCompositor());
48 } 48 }
49 49
50 // Updates the layer tree to match the provided paint artifact. 50 // Updates the layer tree to match the provided paint artifact.
51 void update( 51 void update(
52 const PaintArtifact&, 52 const PaintArtifact&,
53 RasterInvalidationTrackingMap<const PaintChunk>* paintChunkInvalidations); 53 RasterInvalidationTrackingMap<const PaintChunk>* paintChunkInvalidations);
54 54
55 // The root layer of the tree managed by this object. 55 // The root layer of the tree managed by this object.
56 cc::Layer* rootLayer() const { return m_rootLayer.get(); } 56 cc::Layer* rootLayer() const { return m_rootLayer.get(); }
57 57
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 bool m_extraDataForTestingEnabled = false; 108 bool m_extraDataForTestingEnabled = false;
109 std::unique_ptr<ExtraDataForTesting> m_extraDataForTesting; 109 std::unique_ptr<ExtraDataForTesting> m_extraDataForTesting;
110 friend class StubChromeClientForSPv2; 110 friend class StubChromeClientForSPv2;
111 111
112 bool m_isTrackingRasterInvalidations; 112 bool m_isTrackingRasterInvalidations;
113 }; 113 };
114 114
115 } // namespace blink 115 } // namespace blink
116 116
117 #endif // PaintArtifactCompositor_h 117 #endif // PaintArtifactCompositor_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698