| 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 861 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 872 const SVGDocumentExtensions* svgExtensions(); | 872 const SVGDocumentExtensions* svgExtensions(); |
| 873 SVGDocumentExtensions& accessSVGExtensions(); | 873 SVGDocumentExtensions& accessSVGExtensions(); |
| 874 | 874 |
| 875 void initSecurityContext(); | 875 void initSecurityContext(); |
| 876 void initSecurityContext(const DocumentInit&); | 876 void initSecurityContext(const DocumentInit&); |
| 877 void initContentSecurityPolicy(const ContentSecurityPolicyResponseHeaders&); | 877 void initContentSecurityPolicy(const ContentSecurityPolicyResponseHeaders&); |
| 878 | 878 |
| 879 bool allowInlineEventHandlers(Node*, EventListener*, const String& contextUR
L, const WTF::OrdinalNumber& contextLine); | 879 bool allowInlineEventHandlers(Node*, EventListener*, const String& contextUR
L, const WTF::OrdinalNumber& contextLine); |
| 880 bool allowExecutingScripts(Node*); | 880 bool allowExecutingScripts(Node*); |
| 881 | 881 |
| 882 bool scriptEnabled(); |
| 883 |
| 882 void statePopped(PassRefPtr<SerializedScriptValue>); | 884 void statePopped(PassRefPtr<SerializedScriptValue>); |
| 883 | 885 |
| 884 enum LoadEventProgress { | 886 enum LoadEventProgress { |
| 885 LoadEventNotRun, | 887 LoadEventNotRun, |
| 886 LoadEventTried, | 888 LoadEventTried, |
| 887 LoadEventInProgress, | 889 LoadEventInProgress, |
| 888 LoadEventCompleted, | 890 LoadEventCompleted, |
| 889 BeforeUnloadEventInProgress, | 891 BeforeUnloadEventInProgress, |
| 890 BeforeUnloadEventCompleted, | 892 BeforeUnloadEventCompleted, |
| 891 PageHideInProgress, | 893 PageHideInProgress, |
| (...skipping 370 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1262 Timer<Document> m_updateFocusAppearanceTimer; | 1264 Timer<Document> m_updateFocusAppearanceTimer; |
| 1263 | 1265 |
| 1264 RawPtrWillBeMember<Element> m_cssTarget; | 1266 RawPtrWillBeMember<Element> m_cssTarget; |
| 1265 | 1267 |
| 1266 LoadEventProgress m_loadEventProgress; | 1268 LoadEventProgress m_loadEventProgress; |
| 1267 | 1269 |
| 1268 double m_startTime; | 1270 double m_startTime; |
| 1269 | 1271 |
| 1270 OwnPtrWillBeMember<ScriptRunner> m_scriptRunner; | 1272 OwnPtrWillBeMember<ScriptRunner> m_scriptRunner; |
| 1271 | 1273 |
| 1274 enum ScriptEnabledState { |
| 1275 Uninitialized, |
| 1276 Enabled, |
| 1277 Disabled |
| 1278 }; |
| 1279 ScriptEnabledState m_scriptEnabled; |
| 1280 |
| 1272 WillBeHeapVector<RefPtrWillBeMember<HTMLScriptElement> > m_currentScriptStac
k; | 1281 WillBeHeapVector<RefPtrWillBeMember<HTMLScriptElement> > m_currentScriptStac
k; |
| 1273 | 1282 |
| 1274 OwnPtr<TransformSource> m_transformSource; | 1283 OwnPtr<TransformSource> m_transformSource; |
| 1275 RefPtrWillBeMember<Document> m_transformSourceDocument; | 1284 RefPtrWillBeMember<Document> m_transformSourceDocument; |
| 1276 | 1285 |
| 1277 String m_xmlEncoding; | 1286 String m_xmlEncoding; |
| 1278 String m_xmlVersion; | 1287 String m_xmlVersion; |
| 1279 unsigned m_xmlStandalone : 2; | 1288 unsigned m_xmlStandalone : 2; |
| 1280 unsigned m_hasXMLDeclaration : 1; | 1289 unsigned m_hasXMLDeclaration : 1; |
| 1281 | 1290 |
| (...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1427 inline bool Node::isDocumentNode() const | 1436 inline bool Node::isDocumentNode() const |
| 1428 { | 1437 { |
| 1429 return this == document(); | 1438 return this == document(); |
| 1430 } | 1439 } |
| 1431 | 1440 |
| 1432 Node* eventTargetNodeForDocument(Document*); | 1441 Node* eventTargetNodeForDocument(Document*); |
| 1433 | 1442 |
| 1434 } // namespace WebCore | 1443 } // namespace WebCore |
| 1435 | 1444 |
| 1436 #endif // Document_h | 1445 #endif // Document_h |
| OLD | NEW |