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

Side by Side Diff: Source/core/dom/ScriptLoader.h

Issue 347643002: Reduce forward declarations in core/dom (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase against ToT Created 6 years, 6 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/Position.h ('k') | Source/core/dom/SelectorQuery.h » ('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) 2008 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2008 Nikolas Zimmermann <zimmermann@kde.org>
3 * 3 *
4 * This library is free software; you can redistribute it and/or 4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public 5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either 6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version. 7 * version 2 of the License, or (at your option) any later version.
8 * 8 *
9 * This library is distributed in the hope that it will be useful, 9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 11 matching lines...) Expand all
22 #define ScriptLoader_h 22 #define ScriptLoader_h
23 23
24 #include "core/fetch/ResourceClient.h" 24 #include "core/fetch/ResourceClient.h"
25 #include "core/fetch/ResourcePtr.h" 25 #include "core/fetch/ResourcePtr.h"
26 #include "wtf/text/TextPosition.h" 26 #include "wtf/text/TextPosition.h"
27 #include "wtf/text/WTFString.h" 27 #include "wtf/text/WTFString.h"
28 28
29 namespace WebCore { 29 namespace WebCore {
30 30
31 class ScriptResource; 31 class ScriptResource;
32 class ContainerNode;
33 class Element; 32 class Element;
34 class ScriptLoaderClient; 33 class ScriptLoaderClient;
35 class ScriptSourceCode; 34 class ScriptSourceCode;
36 35
37 36
38 class ScriptLoader FINAL : private ResourceClient { 37 class ScriptLoader FINAL : private ResourceClient {
39 public: 38 public:
40 static PassOwnPtr<ScriptLoader> create(Element*, bool createdByParser, bool isEvaluated); 39 static PassOwnPtr<ScriptLoader> create(Element*, bool createdByParser, bool isEvaluated);
41 virtual ~ScriptLoader(); 40 virtual ~ScriptLoader();
42 41
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 105
107 inline PassOwnPtr<ScriptLoader> ScriptLoader::create(Element* element, bool crea tedByParser, bool isEvaluated) 106 inline PassOwnPtr<ScriptLoader> ScriptLoader::create(Element* element, bool crea tedByParser, bool isEvaluated)
108 { 107 {
109 return adoptPtr(new ScriptLoader(element, createdByParser, isEvaluated)); 108 return adoptPtr(new ScriptLoader(element, createdByParser, isEvaluated));
110 } 109 }
111 110
112 } 111 }
113 112
114 113
115 #endif 114 #endif
OLDNEW
« no previous file with comments | « Source/core/dom/Position.h ('k') | Source/core/dom/SelectorQuery.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698