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 1007 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1018 void unregisterVisibilityObserver(DocumentVisibilityObserver*); | 1018 void unregisterVisibilityObserver(DocumentVisibilityObserver*); |
1019 | 1019 |
1020 void updateStyleInvalidationIfNeeded(); | 1020 void updateStyleInvalidationIfNeeded(); |
1021 | 1021 |
1022 bool attemptedToDetermineEncodingFromContentSniffing() const; | 1022 bool attemptedToDetermineEncodingFromContentSniffing() const; |
1023 bool encodingWasDetectedFromContentSniffing() const; | 1023 bool encodingWasDetectedFromContentSniffing() const; |
1024 | 1024 |
1025 DECLARE_VIRTUAL_TRACE(); | 1025 DECLARE_VIRTUAL_TRACE(); |
1026 | 1026 |
1027 bool hasSVGFilterElementsRequiringLayerUpdate() const { return m_layerUpdate
SVGFilterElements.size(); } | 1027 bool hasSVGFilterElementsRequiringLayerUpdate() const { return m_layerUpdate
SVGFilterElements.size(); } |
1028 void didRecalculateStyleForElement() { ++m_styleRecalcElementCounter; } | |
1029 | 1028 |
1030 AtomicString convertLocalName(const AtomicString&); | 1029 AtomicString convertLocalName(const AtomicString&); |
1031 | 1030 |
1032 void platformColorsChanged(); | 1031 void platformColorsChanged(); |
1033 | 1032 |
1034 DOMTimerCoordinator* timers() final; | 1033 DOMTimerCoordinator* timers() final; |
1035 | 1034 |
1036 v8::Local<v8::Object> wrap(v8::Isolate*, v8::Local<v8::Object> creationConte
xt) override; | 1035 v8::Local<v8::Object> wrap(v8::Isolate*, v8::Local<v8::Object> creationConte
xt) override; |
1037 v8::Local<v8::Object> associateWithWrapper(v8::Isolate*, const WrapperTypeIn
fo*, v8::Local<v8::Object> wrapper) override WARN_UNUSED_RETURN; | 1036 v8::Local<v8::Object> associateWithWrapper(v8::Isolate*, const WrapperTypeIn
fo*, v8::Local<v8::Object> wrapper) override WARN_UNUSED_RETURN; |
1038 | 1037 |
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1389 WillBeHeapHashSet<RawPtrWillBeMember<SVGUseElement>> m_useElementsNeedingUpd
ate; | 1388 WillBeHeapHashSet<RawPtrWillBeMember<SVGUseElement>> m_useElementsNeedingUpd
ate; |
1390 WillBeHeapHashSet<RawPtrWillBeMember<Element>> m_layerUpdateSVGFilterElement
s; | 1389 WillBeHeapHashSet<RawPtrWillBeMember<Element>> m_layerUpdateSVGFilterElement
s; |
1391 | 1390 |
1392 DOMTimerCoordinator m_timers; | 1391 DOMTimerCoordinator m_timers; |
1393 | 1392 |
1394 bool m_hasViewportUnits; | 1393 bool m_hasViewportUnits; |
1395 | 1394 |
1396 using DocumentVisibilityObserverSet = WillBeHeapHashSet<RawPtrWillBeWeakMemb
er<DocumentVisibilityObserver>>; | 1395 using DocumentVisibilityObserverSet = WillBeHeapHashSet<RawPtrWillBeWeakMemb
er<DocumentVisibilityObserver>>; |
1397 DocumentVisibilityObserverSet m_visibilityObservers; | 1396 DocumentVisibilityObserverSet m_visibilityObservers; |
1398 | 1397 |
1399 int m_styleRecalcElementCounter; | |
1400 | |
1401 ParserSynchronizationPolicy m_parserSyncPolicy; | 1398 ParserSynchronizationPolicy m_parserSyncPolicy; |
1402 | 1399 |
1403 OriginsUsingFeatures::Value m_originsUsingFeaturesValue; | 1400 OriginsUsingFeatures::Value m_originsUsingFeaturesValue; |
1404 | 1401 |
1405 ClientHintsPreferences m_clientHintsPreferences; | 1402 ClientHintsPreferences m_clientHintsPreferences; |
1406 | 1403 |
1407 PersistentWillBeMember<CanvasFontCache> m_canvasFontCache; | 1404 PersistentWillBeMember<CanvasFontCache> m_canvasFontCache; |
1408 | 1405 |
1409 PersistentWillBeMember<IntersectionObserverController> m_intersectionObserve
rController; | 1406 PersistentWillBeMember<IntersectionObserverController> m_intersectionObserve
rController; |
1410 PersistentWillBeMember<NodeIntersectionObserverData> m_intersectionObserverD
ata; | 1407 PersistentWillBeMember<NodeIntersectionObserverData> m_intersectionObserverD
ata; |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1452 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); | 1449 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); |
1453 | 1450 |
1454 } // namespace blink | 1451 } // namespace blink |
1455 | 1452 |
1456 #ifndef NDEBUG | 1453 #ifndef NDEBUG |
1457 // Outside the WebCore namespace for ease of invocation from gdb. | 1454 // Outside the WebCore namespace for ease of invocation from gdb. |
1458 CORE_EXPORT void showLiveDocumentInstances(); | 1455 CORE_EXPORT void showLiveDocumentInstances(); |
1459 #endif | 1456 #endif |
1460 | 1457 |
1461 #endif // Document_h | 1458 #endif // Document_h |
OLD | NEW |