| 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
|
|
|