OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 CSSTiming_h | 5 #ifndef CSSTiming_h |
6 #define CSSTiming_h | 6 #define CSSTiming_h |
7 | 7 |
8 #include "core/dom/Document.h" | 8 #include "core/dom/Document.h" |
9 #include "platform/Supplementable.h" | 9 #include "platform/Supplementable.h" |
10 #include "platform/heap/Handle.h" | 10 #include "platform/heap/Handle.h" |
(...skipping 22 matching lines...) Expand all Loading... |
33 | 33 |
34 static CSSTiming& from(Document&); | 34 static CSSTiming& from(Document&); |
35 DECLARE_VIRTUAL_TRACE(); | 35 DECLARE_VIRTUAL_TRACE(); |
36 | 36 |
37 private: | 37 private: |
38 explicit CSSTiming(Document&); | 38 explicit CSSTiming(Document&); |
39 | 39 |
40 double m_parseTimeBeforeFCP = 0; | 40 double m_parseTimeBeforeFCP = 0; |
41 double m_updateTimeBeforeFCP = 0; | 41 double m_updateTimeBeforeFCP = 0; |
42 | 42 |
43 Member<Document> m_document; | |
44 Member<PaintTiming> m_paintTiming; | 43 Member<PaintTiming> m_paintTiming; |
45 }; | 44 }; |
46 | 45 |
47 } // namespace blink | 46 } // namespace blink |
48 | 47 |
49 #endif // CSSTiming_h | 48 #endif // CSSTiming_h |
OLD | NEW |