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 809 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
820 Document* parentDocument() const; | 820 Document* parentDocument() const; |
821 Document& topDocument() const; | 821 Document& topDocument() const; |
822 WeakPtrWillBeRawPtr<Document> contextDocument(); | 822 WeakPtrWillBeRawPtr<Document> contextDocument(); |
823 | 823 |
824 ScriptRunner* scriptRunner() { return m_scriptRunner.get(); } | 824 ScriptRunner* scriptRunner() { return m_scriptRunner.get(); } |
825 | 825 |
826 HTMLScriptElement* currentScript() const { return !m_currentScriptStack.isEm
pty() ? m_currentScriptStack.last().get() : nullptr; } | 826 HTMLScriptElement* currentScript() const { return !m_currentScriptStack.isEm
pty() ? m_currentScriptStack.last().get() : nullptr; } |
827 void pushCurrentScript(PassRefPtrWillBeRawPtr<HTMLScriptElement>); | 827 void pushCurrentScript(PassRefPtrWillBeRawPtr<HTMLScriptElement>); |
828 void popCurrentScript(); | 828 void popCurrentScript(); |
829 | 829 |
830 void applyXSLTransform(ProcessingInstruction* pi); | |
831 PassRefPtrWillBeRawPtr<Document> transformSourceDocument() { return m_transf
ormSourceDocument; } | |
832 void setTransformSourceDocument(Document* doc) { m_transformSourceDocument =
doc; } | |
833 | |
834 void setTransformSource(PassOwnPtr<TransformSource>); | 830 void setTransformSource(PassOwnPtr<TransformSource>); |
835 TransformSource* transformSource() const { return m_transformSource.get(); } | 831 TransformSource* transformSource() const { return m_transformSource.get(); } |
836 | 832 |
837 void incDOMTreeVersion() { ASSERT(m_lifecycle.stateAllowsTreeMutations()); m
_domTreeVersion = ++s_globalTreeVersion; } | 833 void incDOMTreeVersion() { ASSERT(m_lifecycle.stateAllowsTreeMutations()); m
_domTreeVersion = ++s_globalTreeVersion; } |
838 uint64_t domTreeVersion() const { return m_domTreeVersion; } | 834 uint64_t domTreeVersion() const { return m_domTreeVersion; } |
839 | 835 |
840 enum PendingSheetLayout { NoLayoutWithPendingSheets, DidLayoutWithPendingShe
ets, IgnoreLayoutWithPendingSheets }; | 836 enum PendingSheetLayout { NoLayoutWithPendingSheets, DidLayoutWithPendingShe
ets, IgnoreLayoutWithPendingSheets }; |
841 | 837 |
842 bool didLayoutWithPendingStylesheets() const { return m_pendingSheetLayout =
= DidLayoutWithPendingSheets; } | 838 bool didLayoutWithPendingStylesheets() const { return m_pendingSheetLayout =
= DidLayoutWithPendingSheets; } |
843 bool ignoreLayoutWithPendingStylesheets() const { return m_pendingSheetLayou
t == IgnoreLayoutWithPendingSheets; } | 839 bool ignoreLayoutWithPendingStylesheets() const { return m_pendingSheetLayou
t == IgnoreLayoutWithPendingSheets; } |
(...skipping 436 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1280 | 1276 |
1281 LoadEventProgress m_loadEventProgress; | 1277 LoadEventProgress m_loadEventProgress; |
1282 | 1278 |
1283 double m_startTime; | 1279 double m_startTime; |
1284 | 1280 |
1285 OwnPtrWillBeMember<ScriptRunner> m_scriptRunner; | 1281 OwnPtrWillBeMember<ScriptRunner> m_scriptRunner; |
1286 | 1282 |
1287 WillBeHeapVector<RefPtrWillBeMember<HTMLScriptElement>> m_currentScriptStack
; | 1283 WillBeHeapVector<RefPtrWillBeMember<HTMLScriptElement>> m_currentScriptStack
; |
1288 | 1284 |
1289 OwnPtr<TransformSource> m_transformSource; | 1285 OwnPtr<TransformSource> m_transformSource; |
1290 RefPtrWillBeMember<Document> m_transformSourceDocument; | |
1291 | 1286 |
1292 String m_xmlEncoding; | 1287 String m_xmlEncoding; |
1293 String m_xmlVersion; | 1288 String m_xmlVersion; |
1294 unsigned m_xmlStandalone : 2; | 1289 unsigned m_xmlStandalone : 2; |
1295 unsigned m_hasXMLDeclaration : 1; | 1290 unsigned m_hasXMLDeclaration : 1; |
1296 | 1291 |
1297 AtomicString m_contentLanguage; | 1292 AtomicString m_contentLanguage; |
1298 | 1293 |
1299 DocumentEncodingData m_encodingData; | 1294 DocumentEncodingData m_encodingData; |
1300 | 1295 |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1437 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); | 1432 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); |
1438 | 1433 |
1439 } // namespace blink | 1434 } // namespace blink |
1440 | 1435 |
1441 #ifndef NDEBUG | 1436 #ifndef NDEBUG |
1442 // Outside the WebCore namespace for ease of invocation from gdb. | 1437 // Outside the WebCore namespace for ease of invocation from gdb. |
1443 void showLiveDocumentInstances(); | 1438 void showLiveDocumentInstances(); |
1444 #endif | 1439 #endif |
1445 | 1440 |
1446 #endif // Document_h | 1441 #endif // Document_h |
OLD | NEW |