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 770 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
781 HTMLScriptElement* currentScript() const { return !m_currentScriptStack.isEm
pty() ? m_currentScriptStack.last().get() : nullptr; } | 781 HTMLScriptElement* currentScript() const { return !m_currentScriptStack.isEm
pty() ? m_currentScriptStack.last().get() : nullptr; } |
782 void pushCurrentScript(PassRefPtrWillBeRawPtr<HTMLScriptElement>); | 782 void pushCurrentScript(PassRefPtrWillBeRawPtr<HTMLScriptElement>); |
783 void popCurrentScript(); | 783 void popCurrentScript(); |
784 | 784 |
785 void setTransformSource(PassOwnPtr<TransformSource>); | 785 void setTransformSource(PassOwnPtr<TransformSource>); |
786 TransformSource* transformSource() const { return m_transformSource.get(); } | 786 TransformSource* transformSource() const { return m_transformSource.get(); } |
787 | 787 |
788 void incDOMTreeVersion() { ASSERT(m_lifecycle.stateAllowsTreeMutations()); m
_domTreeVersion = ++s_globalTreeVersion; } | 788 void incDOMTreeVersion() { ASSERT(m_lifecycle.stateAllowsTreeMutations()); m
_domTreeVersion = ++s_globalTreeVersion; } |
789 uint64_t domTreeVersion() const { return m_domTreeVersion; } | 789 uint64_t domTreeVersion() const { return m_domTreeVersion; } |
790 | 790 |
791 void incStyleVersion() { ++m_styleVersion; } | |
792 uint64_t styleVersion() const { return m_styleVersion; } | 791 uint64_t styleVersion() const { return m_styleVersion; } |
793 | 792 |
794 enum PendingSheetLayout { NoLayoutWithPendingSheets, DidLayoutWithPendingShe
ets, IgnoreLayoutWithPendingSheets }; | 793 enum PendingSheetLayout { NoLayoutWithPendingSheets, DidLayoutWithPendingShe
ets, IgnoreLayoutWithPendingSheets }; |
795 | 794 |
796 bool didLayoutWithPendingStylesheets() const { return m_pendingSheetLayout =
= DidLayoutWithPendingSheets; } | 795 bool didLayoutWithPendingStylesheets() const { return m_pendingSheetLayout =
= DidLayoutWithPendingSheets; } |
797 bool ignoreLayoutWithPendingStylesheets() const { return m_pendingSheetLayou
t == IgnoreLayoutWithPendingSheets; } | 796 bool ignoreLayoutWithPendingStylesheets() const { return m_pendingSheetLayou
t == IgnoreLayoutWithPendingSheets; } |
798 | 797 |
799 bool hasNodesWithPlaceholderStyle() const { return m_hasNodesWithPlaceholder
Style; } | 798 bool hasNodesWithPlaceholderStyle() const { return m_hasNodesWithPlaceholder
Style; } |
800 void setHasNodesWithPlaceholderStyle() { m_hasNodesWithPlaceholderStyle = tr
ue; } | 799 void setHasNodesWithPlaceholderStyle() { m_hasNodesWithPlaceholderStyle = tr
ue; } |
801 | 800 |
(...skipping 632 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1434 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); | 1433 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); |
1435 | 1434 |
1436 } // namespace blink | 1435 } // namespace blink |
1437 | 1436 |
1438 #ifndef NDEBUG | 1437 #ifndef NDEBUG |
1439 // Outside the WebCore namespace for ease of invocation from gdb. | 1438 // Outside the WebCore namespace for ease of invocation from gdb. |
1440 CORE_EXPORT void showLiveDocumentInstances(); | 1439 CORE_EXPORT void showLiveDocumentInstances(); |
1441 #endif | 1440 #endif |
1442 | 1441 |
1443 #endif // Document_h | 1442 #endif // Document_h |
OLD | NEW |