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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 class HTMLCanvasElement; | 100 class HTMLCanvasElement; |
101 class HTMLCollection; | 101 class HTMLCollection; |
102 class HTMLAllCollection; | 102 class HTMLAllCollection; |
103 class HTMLDocument; | 103 class HTMLDocument; |
104 class HTMLElement; | 104 class HTMLElement; |
105 class HTMLFrameOwnerElement; | 105 class HTMLFrameOwnerElement; |
106 class HTMLHeadElement; | 106 class HTMLHeadElement; |
107 class HTMLIFrameElement; | 107 class HTMLIFrameElement; |
108 class HTMLMapElement; | 108 class HTMLMapElement; |
109 class HTMLNameCollection; | 109 class HTMLNameCollection; |
| 110 class HTMLScriptElement; |
110 class HitTestRequest; | 111 class HitTestRequest; |
111 class HitTestResult; | 112 class HitTestResult; |
112 class IntPoint; | 113 class IntPoint; |
113 class LayoutPoint; | 114 class LayoutPoint; |
114 class LayoutRect; | 115 class LayoutRect; |
115 class LiveNodeListBase; | 116 class LiveNodeListBase; |
116 class DOMWrapperWorld; | 117 class DOMWrapperWorld; |
117 class JSNode; | 118 class JSNode; |
118 class Locale; | 119 class Locale; |
119 class MediaQueryList; | 120 class MediaQueryList; |
(...skipping 733 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
853 InheritedBool getDesignMode() const; | 854 InheritedBool getDesignMode() const; |
854 bool inDesignMode() const; | 855 bool inDesignMode() const; |
855 | 856 |
856 Document* parentDocument() const; | 857 Document* parentDocument() const; |
857 Document* topDocument() const; | 858 Document* topDocument() const; |
858 | 859 |
859 int docID() const { return m_docID; } | 860 int docID() const { return m_docID; } |
860 | 861 |
861 ScriptRunner* scriptRunner() { return m_scriptRunner.get(); } | 862 ScriptRunner* scriptRunner() { return m_scriptRunner.get(); } |
862 | 863 |
| 864 HTMLScriptElement* currentScript() { return m_currentScript.get(); } |
| 865 void setCurrentScript(PassRefPtr<HTMLScriptElement>); |
| 866 void clearCurrentScript(); |
| 867 |
863 void applyXSLTransform(ProcessingInstruction* pi); | 868 void applyXSLTransform(ProcessingInstruction* pi); |
864 PassRefPtr<Document> transformSourceDocument() { return m_transformSourceDoc
ument; } | 869 PassRefPtr<Document> transformSourceDocument() { return m_transformSourceDoc
ument; } |
865 void setTransformSourceDocument(Document* doc) { m_transformSourceDocument =
doc; } | 870 void setTransformSourceDocument(Document* doc) { m_transformSourceDocument =
doc; } |
866 | 871 |
867 void setTransformSource(PassOwnPtr<TransformSource>); | 872 void setTransformSource(PassOwnPtr<TransformSource>); |
868 TransformSource* transformSource() const { return m_transformSource.get(); } | 873 TransformSource* transformSource() const { return m_transformSource.get(); } |
869 | 874 |
870 void incDOMTreeVersion() { m_domTreeVersion = ++s_globalTreeVersion; } | 875 void incDOMTreeVersion() { m_domTreeVersion = ++s_globalTreeVersion; } |
871 uint64_t domTreeVersion() const { return m_domTreeVersion; } | 876 uint64_t domTreeVersion() const { return m_domTreeVersion; } |
872 | 877 |
(...skipping 444 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1317 // and should be merged. | 1322 // and should be merged. |
1318 bool m_processingLoadEvent; | 1323 bool m_processingLoadEvent; |
1319 bool m_loadEventFinished; | 1324 bool m_loadEventFinished; |
1320 | 1325 |
1321 RefPtr<SerializedScriptValue> m_pendingStateObject; | 1326 RefPtr<SerializedScriptValue> m_pendingStateObject; |
1322 double m_startTime; | 1327 double m_startTime; |
1323 bool m_overMinimumLayoutThreshold; | 1328 bool m_overMinimumLayoutThreshold; |
1324 | 1329 |
1325 OwnPtr<ScriptRunner> m_scriptRunner; | 1330 OwnPtr<ScriptRunner> m_scriptRunner; |
1326 | 1331 |
| 1332 RefPtr<HTMLScriptElement> m_currentScript; |
| 1333 |
1327 OwnPtr<TransformSource> m_transformSource; | 1334 OwnPtr<TransformSource> m_transformSource; |
1328 RefPtr<Document> m_transformSourceDocument; | 1335 RefPtr<Document> m_transformSourceDocument; |
1329 | 1336 |
1330 int m_docID; // A unique document identifier used for things like document-s
pecific mapped attributes. | 1337 int m_docID; // A unique document identifier used for things like document-s
pecific mapped attributes. |
1331 | 1338 |
1332 String m_xmlEncoding; | 1339 String m_xmlEncoding; |
1333 String m_xmlVersion; | 1340 String m_xmlVersion; |
1334 unsigned m_xmlStandalone : 2; | 1341 unsigned m_xmlStandalone : 2; |
1335 unsigned m_hasXMLDeclaration : 1; | 1342 unsigned m_hasXMLDeclaration : 1; |
1336 | 1343 |
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1519 trackForDebugging(); | 1526 trackForDebugging(); |
1520 #endif | 1527 #endif |
1521 InspectorCounters::incrementCounter(InspectorCounters::NodeCounter); | 1528 InspectorCounters::incrementCounter(InspectorCounters::NodeCounter); |
1522 } | 1529 } |
1523 | 1530 |
1524 Node* eventTargetNodeForDocument(Document*); | 1531 Node* eventTargetNodeForDocument(Document*); |
1525 | 1532 |
1526 } // namespace WebCore | 1533 } // namespace WebCore |
1527 | 1534 |
1528 #endif // Document_h | 1535 #endif // Document_h |
OLD | NEW |