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

Side by Side Diff: third_party/WebKit/Source/core/paint/PaintLayerPainter.h

Issue 1577433003: Statistics of LayoutBox rare data reasons Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: - Created 3 years, 9 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 PaintLayerPainter_h 5 #ifndef PaintLayerPainter_h
6 #define PaintLayerPainter_h 6 #define PaintLayerPainter_h
7 7
8 #include "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "core/paint/PaintLayerFragment.h" 9 #include "core/paint/PaintLayerFragment.h"
10 #include "core/paint/PaintLayerPaintingInfo.h" 10 #include "core/paint/PaintLayerPaintingInfo.h"
11 #include "core/paint/PaintResult.h" 11 #include "core/paint/PaintResult.h"
12 #include "wtf/Allocator.h" 12 #include "wtf/Allocator.h"
13 13
14 namespace blink { 14 namespace blink {
15 15
16 class ClipRect; 16 class ClipRect;
17 class PaintLayer; 17 class PaintLayer;
18 class GraphicsContext; 18 class GraphicsContext;
19 class LayoutPoint; 19 class LayoutPoint;
20 20
21 CORE_EXPORT int* paintCounts();
22
21 // This class is responsible for painting self-painting PaintLayer. 23 // This class is responsible for painting self-painting PaintLayer.
22 // 24 //
23 // See PainterLayer SELF-PAINTING LAYER section about what 'self-painting' 25 // See PainterLayer SELF-PAINTING LAYER section about what 'self-painting'
24 // means and how it impacts this class. 26 // means and how it impacts this class.
25 class CORE_EXPORT PaintLayerPainter { 27 class CORE_EXPORT PaintLayerPainter {
26 STACK_ALLOCATED(); 28 STACK_ALLOCATED();
27 29
28 public: 30 public:
29 enum FragmentPolicy { AllowMultipleFragments, ForceSingleFragment }; 31 enum FragmentPolicy { AllowMultipleFragments, ForceSingleFragment };
30 32
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 FRIEND_TEST_ALL_PREFIXES(PaintLayerPainterTest, DoPaintWithNonTinyOpacity); 158 FRIEND_TEST_ALL_PREFIXES(PaintLayerPainterTest, DoPaintWithNonTinyOpacity);
157 FRIEND_TEST_ALL_PREFIXES(PaintLayerPainterTest, 159 FRIEND_TEST_ALL_PREFIXES(PaintLayerPainterTest,
158 DoPaintWithEffectAnimationZeroOpacity); 160 DoPaintWithEffectAnimationZeroOpacity);
159 FRIEND_TEST_ALL_PREFIXES(PaintLayerPainterTest, 161 FRIEND_TEST_ALL_PREFIXES(PaintLayerPainterTest,
160 DoNotPaintWithTransformAnimationZeroOpacity); 162 DoNotPaintWithTransformAnimationZeroOpacity);
161 }; 163 };
162 164
163 } // namespace blink 165 } // namespace blink
164 166
165 #endif // PaintLayerPainter_h 167 #endif // PaintLayerPainter_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/paint/PaintLayer.cpp ('k') | third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698