| 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 935 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 946 ElementDataCache* elementDataCache() { return m_elementDataCache.get(); } | 946 ElementDataCache* elementDataCache() { return m_elementDataCache.get(); } |
| 947 | 947 |
| 948 void didLoadAllScriptBlockingResources(); | 948 void didLoadAllScriptBlockingResources(); |
| 949 void didRemoveAllPendingStylesheet(); | 949 void didRemoveAllPendingStylesheet(); |
| 950 | 950 |
| 951 bool inStyleRecalc() const { return m_lifecycle.state() == DocumentLifecycle
::InStyleRecalc; } | 951 bool inStyleRecalc() const { return m_lifecycle.state() == DocumentLifecycle
::InStyleRecalc; } |
| 952 | 952 |
| 953 // Return a Locale for the default locale if the argument is null or empty. | 953 // Return a Locale for the default locale if the argument is null or empty. |
| 954 Locale& getCachedLocale(const AtomicString& locale = nullAtom); | 954 Locale& getCachedLocale(const AtomicString& locale = nullAtom); |
| 955 | 955 |
| 956 AnimationClock& animationClock() { return m_animationClock; } | 956 AnimationClock& animationClock(); |
| 957 AnimationTimeline& timeline() const { return *m_timeline; } | 957 AnimationTimeline& timeline() const { return *m_timeline; } |
| 958 CompositorPendingAnimations& compositorPendingAnimations() { return m_compos
itorPendingAnimations; } | 958 CompositorPendingAnimations& compositorPendingAnimations() { return m_compos
itorPendingAnimations; } |
| 959 | 959 |
| 960 void addToTopLayer(Element*, const Element* before = nullptr); | 960 void addToTopLayer(Element*, const Element* before = nullptr); |
| 961 void removeFromTopLayer(Element*); | 961 void removeFromTopLayer(Element*); |
| 962 const WillBeHeapVector<RefPtrWillBeMember<Element>>& topLayerElements() cons
t { return m_topLayerElements; } | 962 const WillBeHeapVector<RefPtrWillBeMember<Element>>& topLayerElements() cons
t { return m_topLayerElements; } |
| 963 HTMLDialogElement* activeModalDialog() const; | 963 HTMLDialogElement* activeModalDialog() const; |
| 964 | 964 |
| 965 // A non-null m_templateDocumentHost implies that |this| was created by ensu
reTemplateDocument(). | 965 // A non-null m_templateDocumentHost implies that |this| was created by ensu
reTemplateDocument(). |
| 966 bool isTemplateDocument() const { return !!m_templateDocumentHost; } | 966 bool isTemplateDocument() const { return !!m_templateDocumentHost; } |
| (...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1347 RefPtrWillBeMember<CustomElementMicrotaskRunQueue> m_customElementMicrotaskR
unQueue; | 1347 RefPtrWillBeMember<CustomElementMicrotaskRunQueue> m_customElementMicrotaskR
unQueue; |
| 1348 | 1348 |
| 1349 void elementDataCacheClearTimerFired(Timer<Document>*); | 1349 void elementDataCacheClearTimerFired(Timer<Document>*); |
| 1350 Timer<Document> m_elementDataCacheClearTimer; | 1350 Timer<Document> m_elementDataCacheClearTimer; |
| 1351 | 1351 |
| 1352 OwnPtrWillBeMember<ElementDataCache> m_elementDataCache; | 1352 OwnPtrWillBeMember<ElementDataCache> m_elementDataCache; |
| 1353 | 1353 |
| 1354 using LocaleIdentifierToLocaleMap = HashMap<AtomicString, OwnPtr<Locale>>; | 1354 using LocaleIdentifierToLocaleMap = HashMap<AtomicString, OwnPtr<Locale>>; |
| 1355 LocaleIdentifierToLocaleMap m_localeCache; | 1355 LocaleIdentifierToLocaleMap m_localeCache; |
| 1356 | 1356 |
| 1357 AnimationClock m_animationClock; | |
| 1358 PersistentWillBeMember<AnimationTimeline> m_timeline; | 1357 PersistentWillBeMember<AnimationTimeline> m_timeline; |
| 1359 CompositorPendingAnimations m_compositorPendingAnimations; | 1358 CompositorPendingAnimations m_compositorPendingAnimations; |
| 1360 | 1359 |
| 1361 RefPtrWillBeMember<Document> m_templateDocument; | 1360 RefPtrWillBeMember<Document> m_templateDocument; |
| 1362 // With Oilpan the templateDocument and the templateDocumentHost | 1361 // With Oilpan the templateDocument and the templateDocumentHost |
| 1363 // live and die together. Without Oilpan, the templateDocumentHost | 1362 // live and die together. Without Oilpan, the templateDocumentHost |
| 1364 // is a manually managed backpointer from m_templateDocument. | 1363 // is a manually managed backpointer from m_templateDocument. |
| 1365 RawPtrWillBeMember<Document> m_templateDocumentHost; | 1364 RawPtrWillBeMember<Document> m_templateDocumentHost; |
| 1366 | 1365 |
| 1367 Timer<Document> m_didAssociateFormControlsTimer; | 1366 Timer<Document> m_didAssociateFormControlsTimer; |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1430 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); | 1429 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); |
| 1431 | 1430 |
| 1432 } // namespace blink | 1431 } // namespace blink |
| 1433 | 1432 |
| 1434 #ifndef NDEBUG | 1433 #ifndef NDEBUG |
| 1435 // Outside the WebCore namespace for ease of invocation from gdb. | 1434 // Outside the WebCore namespace for ease of invocation from gdb. |
| 1436 CORE_EXPORT void showLiveDocumentInstances(); | 1435 CORE_EXPORT void showLiveDocumentInstances(); |
| 1437 #endif | 1436 #endif |
| 1438 | 1437 |
| 1439 #endif // Document_h | 1438 #endif // Document_h |
| OLD | NEW |