OLD | NEW |
---|---|
(Empty) | |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef SubtreeInfoRecorder_h | |
6 #define SubtreeInfoRecorder_h | |
7 | |
8 #include "core/rendering/PaintPhase.h" | |
9 #include "wtf/PassOwnPtr.h" | |
10 | |
11 namespace blink { | |
12 | |
13 class DisplayItem; | |
14 class DisplayItemList; | |
15 class GraphicsContext; | |
16 class RenderObject; | |
17 | |
18 class SubtreeInfoRecorder { | |
pdr.
2015/02/04 05:19:58
Could you add a short comment here about what this
chrishtr
2015/02/04 07:08:14
It's not quite the same as stacking context. It ca
Xianzhu
2015/02/04 20:46:32
Done.
| |
19 public: | |
20 SubtreeInfoRecorder(GraphicsContext*, const RenderObject&, PaintPhase); | |
21 | |
22 ~SubtreeInfoRecorder(); | |
23 | |
24 void begin(); | |
25 | |
26 private: | |
27 void addDisplayItem(PassOwnPtr<DisplayItem>); | |
28 | |
29 DisplayItemList* m_displayItemList; | |
30 const RenderObject& m_renderer; | |
31 const PaintPhase m_paintPhase; | |
32 bool m_begun; | |
33 }; | |
34 | |
35 } // namespace blink | |
36 | |
37 #endif // SubtreeInfoRecorder_h | |
OLD | NEW |