Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(130)

Side by Side Diff: Source/core/dom/ScriptElement.cpp

Issue 15387004: Remove some unused includes from core/css and core/dom (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Source/core/dom/Range.cpp ('k') | Source/core/dom/ScriptableDocumentParser.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 reserv ed. 5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserv ed.
6 * Copyright (C) 2008 Nikolas Zimmermann <zimmermann@kde.org> 6 * Copyright (C) 2008 Nikolas Zimmermann <zimmermann@kde.org>
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 13 matching lines...) Expand all
24 #include "config.h" 24 #include "config.h"
25 #include "core/dom/ScriptElement.h" 25 #include "core/dom/ScriptElement.h"
26 26
27 #include <wtf/StdLibExtras.h> 27 #include <wtf/StdLibExtras.h>
28 #include <wtf/text/StringBuilder.h> 28 #include <wtf/text/StringBuilder.h>
29 #include <wtf/text/StringHash.h> 29 #include <wtf/text/StringHash.h>
30 #include <wtf/text/TextPosition.h> 30 #include <wtf/text/TextPosition.h>
31 #include "HTMLNames.h" 31 #include "HTMLNames.h"
32 #include "bindings/v8/ScriptController.h" 32 #include "bindings/v8/ScriptController.h"
33 #include "bindings/v8/ScriptSourceCode.h" 33 #include "bindings/v8/ScriptSourceCode.h"
34 #include "bindings/v8/ScriptValue.h"
35 #include "core/dom/Document.h" 34 #include "core/dom/Document.h"
36 #include "core/dom/DocumentParser.h"
37 #include "core/dom/Event.h" 35 #include "core/dom/Event.h"
38 #include "core/dom/IgnoreDestructiveWriteCountIncrementer.h" 36 #include "core/dom/IgnoreDestructiveWriteCountIncrementer.h"
39 #include "core/dom/ScriptRunner.h" 37 #include "core/dom/ScriptRunner.h"
40 #include "core/dom/ScriptableDocumentParser.h" 38 #include "core/dom/ScriptableDocumentParser.h"
41 #include "core/dom/Text.h" 39 #include "core/dom/Text.h"
42 #include "core/html/HTMLScriptElement.h" 40 #include "core/html/HTMLScriptElement.h"
43 #include "core/html/parser/HTMLParserIdioms.h" 41 #include "core/html/parser/HTMLParserIdioms.h"
44 #include "core/inspector/ScriptCallStack.h"
45 #include "core/loader/CrossOriginAccessControl.h" 42 #include "core/loader/CrossOriginAccessControl.h"
46 #include "core/loader/FrameLoader.h"
47 #include "core/loader/cache/CachedResourceLoader.h" 43 #include "core/loader/cache/CachedResourceLoader.h"
48 #include "core/loader/cache/CachedResourceRequest.h" 44 #include "core/loader/cache/CachedResourceRequest.h"
49 #include "core/loader/cache/CachedScript.h" 45 #include "core/loader/cache/CachedScript.h"
50 #include "core/page/ContentSecurityPolicy.h" 46 #include "core/page/ContentSecurityPolicy.h"
51 #include "core/page/Frame.h" 47 #include "core/page/Frame.h"
52 #include "core/page/Page.h"
53 #include "core/page/Settings.h"
54 #include "core/platform/MIMETypeRegistry.h" 48 #include "core/platform/MIMETypeRegistry.h"
55 #include "weborigin/SecurityOrigin.h" 49 #include "weborigin/SecurityOrigin.h"
56 50
57 #if ENABLE(SVG) 51 #if ENABLE(SVG)
58 #include "SVGNames.h" 52 #include "SVGNames.h"
59 #include "core/svg/SVGScriptElement.h" 53 #include "core/svg/SVGScriptElement.h"
60 #endif 54 #endif
61 55
62 namespace WebCore { 56 namespace WebCore {
63 57
(...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after
421 415
422 #if ENABLE(SVG) 416 #if ENABLE(SVG)
423 if (element->isSVGElement() && element->hasTagName(SVGNames::scriptTag)) 417 if (element->isSVGElement() && element->hasTagName(SVGNames::scriptTag))
424 return static_cast<SVGScriptElement*>(element); 418 return static_cast<SVGScriptElement*>(element);
425 #endif 419 #endif
426 420
427 return 0; 421 return 0;
428 } 422 }
429 423
430 } 424 }
OLDNEW
« no previous file with comments | « Source/core/dom/Range.cpp ('k') | Source/core/dom/ScriptableDocumentParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698