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 890 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
901 void setAnnotatedRegions(const Vector<AnnotatedRegionValue>&); | 901 void setAnnotatedRegions(const Vector<AnnotatedRegionValue>&); |
902 | 902 |
903 virtual void removeAllEventListeners() OVERRIDE FINAL; | 903 virtual void removeAllEventListeners() OVERRIDE FINAL; |
904 | 904 |
905 const SVGDocumentExtensions* svgExtensions(); | 905 const SVGDocumentExtensions* svgExtensions(); |
906 SVGDocumentExtensions& accessSVGExtensions(); | 906 SVGDocumentExtensions& accessSVGExtensions(); |
907 | 907 |
908 void initSecurityContext(); | 908 void initSecurityContext(); |
909 void initSecurityContext(const DocumentInit&); | 909 void initSecurityContext(const DocumentInit&); |
910 void initContentSecurityPolicy(const ContentSecurityPolicyResponseHeaders&); | 910 void initContentSecurityPolicy(const ContentSecurityPolicyResponseHeaders&); |
| 911 void initScriptEnabled(); |
911 | 912 |
912 bool allowInlineEventHandlers(Node*, EventListener*, const String& contextUR
L, const WTF::OrdinalNumber& contextLine); | 913 bool allowInlineEventHandlers(Node*, EventListener*, const String& contextUR
L, const WTF::OrdinalNumber& contextLine); |
913 bool allowExecutingScripts(Node*); | 914 bool allowExecutingScripts(Node*); |
914 | 915 |
915 void statePopped(PassRefPtr<SerializedScriptValue>); | 916 void statePopped(PassRefPtr<SerializedScriptValue>); |
916 | 917 |
917 enum LoadEventProgress { | 918 enum LoadEventProgress { |
918 LoadEventNotRun, | 919 LoadEventNotRun, |
919 LoadEventTried, | 920 LoadEventTried, |
920 LoadEventInProgress, | 921 LoadEventInProgress, |
(...skipping 529 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1450 inline bool Node::isDocumentNode() const | 1451 inline bool Node::isDocumentNode() const |
1451 { | 1452 { |
1452 return this == document(); | 1453 return this == document(); |
1453 } | 1454 } |
1454 | 1455 |
1455 Node* eventTargetNodeForDocument(Document*); | 1456 Node* eventTargetNodeForDocument(Document*); |
1456 | 1457 |
1457 } // namespace WebCore | 1458 } // namespace WebCore |
1458 | 1459 |
1459 #endif // Document_h | 1460 #endif // Document_h |
OLD | NEW |