OLD | NEW |
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 LayoutAnalyzer_h | 5 #ifndef LayoutAnalyzer_h |
6 #define LayoutAnalyzer_h | 6 #define LayoutAnalyzer_h |
7 | 7 |
8 #include "platform/LayoutUnit.h" | 8 #include "platform/LayoutUnit.h" |
9 #include "wtf/Allocator.h" | 9 #include "wtf/Allocator.h" |
10 #include "wtf/FastAllocBase.h" | |
11 #include "wtf/Noncopyable.h" | 10 #include "wtf/Noncopyable.h" |
12 #include "wtf/PassRefPtr.h" | 11 #include "wtf/PassRefPtr.h" |
13 | 12 |
14 namespace blink { | 13 namespace blink { |
15 | 14 |
16 class LayoutBlock; | 15 class LayoutBlock; |
17 class LayoutObject; | 16 class LayoutObject; |
18 class TracedValue; | 17 class TracedValue; |
19 | 18 |
20 // Observes the performance of layout and reports statistics via a TracedValue. | 19 // Observes the performance of layout and reports statistics via a TracedValue. |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 const char* nameForCounter(Counter) const; | 88 const char* nameForCounter(Counter) const; |
90 | 89 |
91 double m_startMs; | 90 double m_startMs; |
92 unsigned m_depth; | 91 unsigned m_depth; |
93 unsigned m_counters[NumCounters]; | 92 unsigned m_counters[NumCounters]; |
94 }; | 93 }; |
95 | 94 |
96 } // namespace blink | 95 } // namespace blink |
97 | 96 |
98 #endif // LayoutAnalyzer_h | 97 #endif // LayoutAnalyzer_h |
OLD | NEW |