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

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

Issue 2700123003: DO NOT COMMIT: Results of running old (current) clang-format on Blink (Closed)
Patch Set: Created 3 years, 10 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 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 PaintController_h 5 #ifndef PaintController_h
6 #define PaintController_h 6 #define PaintController_h
7 7
8 #include <memory>
9 #include <utility>
8 #include "platform/PlatformExport.h" 10 #include "platform/PlatformExport.h"
9 #include "platform/RuntimeEnabledFeatures.h" 11 #include "platform/RuntimeEnabledFeatures.h"
10 #include "platform/geometry/IntRect.h" 12 #include "platform/geometry/IntRect.h"
11 #include "platform/geometry/LayoutPoint.h" 13 #include "platform/geometry/LayoutPoint.h"
12 #include "platform/graphics/ContiguousContainer.h" 14 #include "platform/graphics/ContiguousContainer.h"
13 #include "platform/graphics/paint/DisplayItem.h" 15 #include "platform/graphics/paint/DisplayItem.h"
14 #include "platform/graphics/paint/DisplayItemList.h" 16 #include "platform/graphics/paint/DisplayItemList.h"
15 #include "platform/graphics/paint/PaintArtifact.h" 17 #include "platform/graphics/paint/PaintArtifact.h"
16 #include "platform/graphics/paint/PaintChunk.h" 18 #include "platform/graphics/paint/PaintChunk.h"
17 #include "platform/graphics/paint/PaintChunker.h" 19 #include "platform/graphics/paint/PaintChunker.h"
18 #include "platform/graphics/paint/RasterInvalidationTracking.h" 20 #include "platform/graphics/paint/RasterInvalidationTracking.h"
19 #include "platform/graphics/paint/Transform3DDisplayItem.h" 21 #include "platform/graphics/paint/Transform3DDisplayItem.h"
20 #include "third_party/skia/include/core/SkRefCnt.h" 22 #include "third_party/skia/include/core/SkRefCnt.h"
21 #include "wtf/Alignment.h" 23 #include "wtf/Alignment.h"
22 #include "wtf/Assertions.h" 24 #include "wtf/Assertions.h"
23 #include "wtf/HashMap.h" 25 #include "wtf/HashMap.h"
24 #include "wtf/HashSet.h" 26 #include "wtf/HashSet.h"
25 #include "wtf/PtrUtil.h" 27 #include "wtf/PtrUtil.h"
26 #include "wtf/Vector.h" 28 #include "wtf/Vector.h"
27 #include <memory>
28 #include <utility>
29 29
30 namespace blink { 30 namespace blink {
31 31
32 static const size_t kInitialDisplayItemListCapacityBytes = 512; 32 static const size_t kInitialDisplayItemListCapacityBytes = 512;
33 33
34 template class RasterInvalidationTrackingMap<const PaintChunk>; 34 template class RasterInvalidationTrackingMap<const PaintChunk>;
35 35
36 // Responsible for processing display items as they are produced, and producing 36 // Responsible for processing display items as they are produced, and producing
37 // a final paint artifact when complete. This class includes logic for caching, 37 // a final paint artifact when complete. This class includes logic for caching,
38 // cache invalidation, and merging. 38 // cache invalidation, and merging.
(...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after
376 376
377 #if CHECK_DISPLAY_ITEM_CLIENT_ALIVENESS 377 #if CHECK_DISPLAY_ITEM_CLIENT_ALIVENESS
378 // A stack recording subsequence clients that are currently painting. 378 // A stack recording subsequence clients that are currently painting.
379 Vector<const DisplayItemClient*> m_currentSubsequenceClients; 379 Vector<const DisplayItemClient*> m_currentSubsequenceClients;
380 #endif 380 #endif
381 }; 381 };
382 382
383 } // namespace blink 383 } // namespace blink
384 384
385 #endif // PaintController_h 385 #endif // PaintController_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698