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 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights | 5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights |
6 * reserved. | 6 * reserved. |
7 * Copyright (C) 2008 Nikolas Zimmermann <zimmermann@kde.org> | 7 * Copyright (C) 2008 Nikolas Zimmermann <zimmermann@kde.org> |
8 * | 8 * |
9 * This library is free software; you can redistribute it and/or | 9 * This library is free software; you can redistribute it and/or |
10 * modify it under the terms of the GNU Library General Public | 10 * modify it under the terms of the GNU Library General Public |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 #include "core/frame/LocalFrame.h" | 43 #include "core/frame/LocalFrame.h" |
44 #include "core/frame/SubresourceIntegrity.h" | 44 #include "core/frame/SubresourceIntegrity.h" |
45 #include "core/frame/UseCounter.h" | 45 #include "core/frame/UseCounter.h" |
46 #include "core/frame/csp/ContentSecurityPolicy.h" | 46 #include "core/frame/csp/ContentSecurityPolicy.h" |
47 #include "core/html/CrossOriginAttribute.h" | 47 #include "core/html/CrossOriginAttribute.h" |
48 #include "core/html/HTMLScriptElement.h" | 48 #include "core/html/HTMLScriptElement.h" |
49 #include "core/html/imports/HTMLImport.h" | 49 #include "core/html/imports/HTMLImport.h" |
50 #include "core/html/parser/HTMLParserIdioms.h" | 50 #include "core/html/parser/HTMLParserIdioms.h" |
51 #include "core/inspector/ConsoleMessage.h" | 51 #include "core/inspector/ConsoleMessage.h" |
52 #include "core/svg/SVGScriptElement.h" | 52 #include "core/svg/SVGScriptElement.h" |
53 #include "platform/MIMETypeRegistry.h" | 53 #include "platform/network/mime/MIMETypeRegistry.h" |
54 #include "platform/weborigin/SecurityOrigin.h" | 54 #include "platform/weborigin/SecurityOrigin.h" |
55 #include "public/platform/WebCachePolicy.h" | 55 #include "public/platform/WebCachePolicy.h" |
56 #include "public/platform/WebFrameScheduler.h" | 56 #include "public/platform/WebFrameScheduler.h" |
57 #include "wtf/StdLibExtras.h" | 57 #include "wtf/StdLibExtras.h" |
58 #include "wtf/text/StringBuilder.h" | 58 #include "wtf/text/StringBuilder.h" |
59 #include "wtf/text/StringHash.h" | 59 #include "wtf/text/StringHash.h" |
60 | 60 |
61 namespace blink { | 61 namespace blink { |
62 | 62 |
63 ScriptLoader::ScriptLoader(Element* element, | 63 ScriptLoader::ScriptLoader(Element* element, |
(...skipping 582 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
646 if (isHTMLScriptLoader(element)) | 646 if (isHTMLScriptLoader(element)) |
647 return toHTMLScriptElement(element)->loader(); | 647 return toHTMLScriptElement(element)->loader(); |
648 | 648 |
649 if (isSVGScriptLoader(element)) | 649 if (isSVGScriptLoader(element)) |
650 return toSVGScriptElement(element)->loader(); | 650 return toSVGScriptElement(element)->loader(); |
651 | 651 |
652 return 0; | 652 return 0; |
653 } | 653 } |
654 | 654 |
655 } // namespace blink | 655 } // namespace blink |
OLD | NEW |