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

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

Issue 18261015: Rename ScriptElement to ScriptLoader (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/dom/ScriptLoader.cpp ('k') | Source/core/dom/ScriptRunner.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) 2004, 2005, 2006, 2007 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2008 Nikolas Zimmermann <zimmermann@kde.org>
3 * Copyright (C) 2004, 2005 Rob Buis <buis@kde.org>
4 * Copyright (C) 2005 Eric Seidel <eric@webkit.org>
5 * Copyright (C) 2013 Google Inc. All rights reserved. 3 * Copyright (C) 2013 Google Inc. All rights reserved.
6 * 4 *
7 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
11 * 9 *
12 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Library General Public License for more details. 13 * Library General Public License for more details.
16 * 14 *
17 * You should have received a copy of the GNU Library General Public License 15 * You should have received a copy of the GNU Library General Public License
18 * along with this library; see the file COPYING.LIB. If not, write to 16 * along with this library; see the file COPYING.LIB. If not, write to
19 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20 * Boston, MA 02110-1301, USA. 18 * Boston, MA 02110-1301, USA.
19 *
21 */ 20 */
21 #ifndef ScriptLoaderClient_h
22 #define ScriptLoaderClient_h
22 23
23 #ifndef FEMerge_h 24 #include "wtf/text/WTFString.h"
24 #define FEMerge_h
25
26 #include "core/platform/graphics/filters/Filter.h"
27 #include "core/platform/graphics/filters/FilterEffect.h"
28 #include <wtf/Vector.h>
29 25
30 namespace WebCore { 26 namespace WebCore {
31 27
32 class FEMerge : public FilterEffect { 28 class ScriptLoaderClient {
33 public: 29 public:
34 static PassRefPtr<FEMerge> create(Filter*); 30 virtual ~ScriptLoaderClient() { }
35 31
36 virtual SkImageFilter* createImageFilter(SkiaImageFilterBuilder*); 32 virtual void dispatchLoadEvent() = 0;
37 33
38 virtual TextStream& externalRepresentation(TextStream&, int indention) const ; 34 virtual String sourceAttributeValue() const = 0;
39 35 virtual String charsetAttributeValue() const = 0;
40 private: 36 virtual String typeAttributeValue() const = 0;
41 FEMerge(Filter*); 37 virtual String languageAttributeValue() const = 0;
42 38 virtual String forAttributeValue() const = 0;
43 virtual void applySoftware() OVERRIDE; 39 virtual String eventAttributeValue() const = 0;
40 virtual bool asyncAttributeValue() const = 0;
41 virtual bool deferAttributeValue() const = 0;
42 virtual bool hasSourceAttribute() const = 0;
44 }; 43 };
45 44
46 } // namespace WebCore 45 }
47 46
48 #endif // FEMerge_h 47 #endif
OLDNEW
« no previous file with comments | « Source/core/dom/ScriptLoader.cpp ('k') | Source/core/dom/ScriptRunner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698