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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/dom/ScriptLoader.cpp ('k') | Source/core/dom/ScriptRunner.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/ScriptLoaderClient.h
diff --git a/Source/core/platform/graphics/filters/FEMerge.h b/Source/core/dom/ScriptLoaderClient.h
similarity index 54%
copy from Source/core/platform/graphics/filters/FEMerge.h
copy to Source/core/dom/ScriptLoaderClient.h
index 3c8a48ed4aab6347ad273027ad16eaab647c1dc0..7ca9d74c3978c813ffff146f0e3a2dcd2d6ccb7c 100644
--- a/Source/core/platform/graphics/filters/FEMerge.h
+++ b/Source/core/dom/ScriptLoaderClient.h
@@ -1,7 +1,5 @@
/*
- * Copyright (C) 2004, 2005, 2006, 2007 Nikolas Zimmermann <zimmermann@kde.org>
- * Copyright (C) 2004, 2005 Rob Buis <buis@kde.org>
- * Copyright (C) 2005 Eric Seidel <eric@webkit.org>
+ * Copyright (C) 2008 Nikolas Zimmermann <zimmermann@kde.org>
* Copyright (C) 2013 Google Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or
@@ -18,31 +16,32 @@
* along with this library; see the file COPYING.LIB. If not, write to
* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301, USA.
+ *
*/
+#ifndef ScriptLoaderClient_h
+#define ScriptLoaderClient_h
-#ifndef FEMerge_h
-#define FEMerge_h
-
-#include "core/platform/graphics/filters/Filter.h"
-#include "core/platform/graphics/filters/FilterEffect.h"
-#include <wtf/Vector.h>
+#include "wtf/text/WTFString.h"
namespace WebCore {
-class FEMerge : public FilterEffect {
+class ScriptLoaderClient {
public:
- static PassRefPtr<FEMerge> create(Filter*);
-
- virtual SkImageFilter* createImageFilter(SkiaImageFilterBuilder*);
-
- virtual TextStream& externalRepresentation(TextStream&, int indention) const;
-
-private:
- FEMerge(Filter*);
-
- virtual void applySoftware() OVERRIDE;
+ virtual ~ScriptLoaderClient() { }
+
+ virtual void dispatchLoadEvent() = 0;
+
+ virtual String sourceAttributeValue() const = 0;
+ virtual String charsetAttributeValue() const = 0;
+ virtual String typeAttributeValue() const = 0;
+ virtual String languageAttributeValue() const = 0;
+ virtual String forAttributeValue() const = 0;
+ virtual String eventAttributeValue() const = 0;
+ virtual bool asyncAttributeValue() const = 0;
+ virtual bool deferAttributeValue() const = 0;
+ virtual bool hasSourceAttribute() const = 0;
};
-} // namespace WebCore
+}
-#endif // FEMerge_h
+#endif
« 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