Index: third_party/WebKit/Source/core/html/canvas/CanvasImageElementSource.h |
diff --git a/third_party/WebKit/Source/core/html/canvas/CanvasImageElementSource.h b/third_party/WebKit/Source/core/html/canvas/CanvasImageElementSource.h |
deleted file mode 100644 |
index 4497a7925640ae1edf0e8b60a546f17b76277e16..0000000000000000000000000000000000000000 |
--- a/third_party/WebKit/Source/core/html/canvas/CanvasImageElementSource.h |
+++ /dev/null |
@@ -1,52 +0,0 @@ |
-// Copyright 2017 The Chromium Authors. All rights reserved. |
-// Use of this source code is governed by a BSD-style license that can be |
-// found in the LICENSE file. |
- |
-#ifndef CanvasImageElementSource_h |
-#define CanvasImageElementSource_h |
- |
-#include "core/CoreExport.h" |
-#include "core/html/canvas/CanvasImageSource.h" |
- |
-namespace blink { |
- |
-class Element; |
-class ImageLoader; |
-class ImageResourceContent; |
- |
-class CORE_EXPORT CanvasImageElementSource : public CanvasImageSource { |
- public: |
- virtual ImageLoader& GetImageLoader() const = 0; |
- virtual FloatSize SourceDefaultObjectSize() = 0; |
- |
- PassRefPtr<Image> GetSourceImageForCanvas(SourceImageStatus*, |
- AccelerationHint, |
- SnapshotReason, |
- const FloatSize&) const override; |
- |
- bool WouldTaintOrigin( |
- SecurityOrigin* destination_security_origin) const override; |
- |
- FloatSize ElementSize(const FloatSize& default_object_size) const override; |
- FloatSize DefaultDestinationSize( |
- const FloatSize& default_object_size) const override; |
- |
- bool IsAccelerated() const override; |
- |
- int SourceWidth() override; |
- int SourceHeight() override; |
- |
- bool IsSVGSource() const override; |
- |
- bool IsOpaque() const override; |
- |
- const KURL& SourceURL() const override; |
- |
- private: |
- ImageResourceContent* CachedImage() const; |
- const Element& GetElement() const; |
-}; |
- |
-} // namespace blink |
- |
-#endif // CanvasImageElementSource_h |