OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
4 * (C) 2001 Dirk Mueller (mueller@kde.org) | 4 * (C) 2001 Dirk Mueller (mueller@kde.org) |
5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) | 5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) |
6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All r
ights reserved. | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All r
ights reserved. |
7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) | 7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) |
8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) | 8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) |
9 * Copyright (C) 2011 Google Inc. All rights reserved. | 9 * Copyright (C) 2011 Google Inc. All rights reserved. |
10 * | 10 * |
(...skipping 21 matching lines...) Expand all Loading... |
32 #include "bindings/core/v8/ScriptValue.h" | 32 #include "bindings/core/v8/ScriptValue.h" |
33 #include "core/CoreExport.h" | 33 #include "core/CoreExport.h" |
34 #include "core/animation/AnimationClock.h" | 34 #include "core/animation/AnimationClock.h" |
35 #include "core/animation/CompositorPendingAnimations.h" | 35 #include "core/animation/CompositorPendingAnimations.h" |
36 #include "core/dom/ContainerNode.h" | 36 #include "core/dom/ContainerNode.h" |
37 #include "core/dom/DocumentEncodingData.h" | 37 #include "core/dom/DocumentEncodingData.h" |
38 #include "core/dom/DocumentInit.h" | 38 #include "core/dom/DocumentInit.h" |
39 #include "core/dom/DocumentLifecycle.h" | 39 #include "core/dom/DocumentLifecycle.h" |
40 #include "core/dom/DocumentLifecycleNotifier.h" | 40 #include "core/dom/DocumentLifecycleNotifier.h" |
41 #include "core/dom/DocumentLifecycleObserver.h" | 41 #include "core/dom/DocumentLifecycleObserver.h" |
| 42 #include "core/dom/DocumentStatisticsCollector.h" |
42 #include "core/dom/DocumentTiming.h" | 43 #include "core/dom/DocumentTiming.h" |
43 #include "core/dom/ExecutionContext.h" | 44 #include "core/dom/ExecutionContext.h" |
44 #include "core/dom/MutationObserver.h" | 45 #include "core/dom/MutationObserver.h" |
45 #include "core/dom/TextLinkColors.h" | 46 #include "core/dom/TextLinkColors.h" |
46 #include "core/dom/TreeScope.h" | 47 #include "core/dom/TreeScope.h" |
47 #include "core/dom/UserActionElementSet.h" | 48 #include "core/dom/UserActionElementSet.h" |
48 #include "core/dom/ViewportDescription.h" | 49 #include "core/dom/ViewportDescription.h" |
49 #include "core/dom/custom/CustomElement.h" | 50 #include "core/dom/custom/CustomElement.h" |
50 #include "core/fetch/ClientHintsPreferences.h" | 51 #include "core/fetch/ClientHintsPreferences.h" |
51 #include "core/frame/DOMTimerCoordinator.h" | 52 #include "core/frame/DOMTimerCoordinator.h" |
(...skipping 1332 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1384 int m_styleRecalcElementCounter; | 1385 int m_styleRecalcElementCounter; |
1385 | 1386 |
1386 ParserSynchronizationPolicy m_parserSyncPolicy; | 1387 ParserSynchronizationPolicy m_parserSyncPolicy; |
1387 | 1388 |
1388 OriginsUsingFeatures::Value m_originsUsingFeaturesValue; | 1389 OriginsUsingFeatures::Value m_originsUsingFeaturesValue; |
1389 | 1390 |
1390 ClientHintsPreferences m_clientHintsPreferences; | 1391 ClientHintsPreferences m_clientHintsPreferences; |
1391 | 1392 |
1392 PersistentWillBeMember<CanvasFontCache> m_canvasFontCache; | 1393 PersistentWillBeMember<CanvasFontCache> m_canvasFontCache; |
1393 | 1394 |
| 1395 DocumentStatisticsCollector m_statisticsCollector; |
| 1396 |
1394 int m_nodeCount; | 1397 int m_nodeCount; |
1395 }; | 1398 }; |
1396 | 1399 |
1397 extern template class CORE_EXTERN_TEMPLATE_EXPORT WillBeHeapSupplement<Document>
; | 1400 extern template class CORE_EXTERN_TEMPLATE_EXPORT WillBeHeapSupplement<Document>
; |
1398 | 1401 |
1399 inline bool Document::shouldOverrideLegacyDescription(ViewportDescription::Type
origin) | 1402 inline bool Document::shouldOverrideLegacyDescription(ViewportDescription::Type
origin) |
1400 { | 1403 { |
1401 // The different (legacy) meta tags have different priorities based on the t
ype | 1404 // The different (legacy) meta tags have different priorities based on the t
ype |
1402 // regardless of which order they appear in the DOM. The priority is given b
y the | 1405 // regardless of which order they appear in the DOM. The priority is given b
y the |
1403 // ViewportDescription::Type enum. | 1406 // ViewportDescription::Type enum. |
(...skipping 30 matching lines...) Expand all Loading... |
1434 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); | 1437 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); |
1435 | 1438 |
1436 } // namespace blink | 1439 } // namespace blink |
1437 | 1440 |
1438 #ifndef NDEBUG | 1441 #ifndef NDEBUG |
1439 // Outside the WebCore namespace for ease of invocation from gdb. | 1442 // Outside the WebCore namespace for ease of invocation from gdb. |
1440 CORE_EXPORT void showLiveDocumentInstances(); | 1443 CORE_EXPORT void showLiveDocumentInstances(); |
1441 #endif | 1444 #endif |
1442 | 1445 |
1443 #endif // Document_h | 1446 #endif // Document_h |
OLD | NEW |