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

Unified Diff: sky/engine/core/html/HTMLImageElement.h

Issue 1001913003: Remove <canvas> (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 9 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 | « sky/engine/core/html/HTMLCanvasElement.idl ('k') | sky/engine/core/html/HTMLImageElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/html/HTMLImageElement.h
diff --git a/sky/engine/core/html/HTMLImageElement.h b/sky/engine/core/html/HTMLImageElement.h
index 61f08be15fc36ed91293e1b244310873b724bade..d7d62ef9e24ff28877e157dc58dc2374e85f16da 100644
--- a/sky/engine/core/html/HTMLImageElement.h
+++ b/sky/engine/core/html/HTMLImageElement.h
@@ -26,7 +26,6 @@
#include "sky/engine/core/html/HTMLElement.h"
#include "sky/engine/core/html/HTMLImageLoader.h"
-#include "sky/engine/core/html/canvas/CanvasImageSource.h"
#include "sky/engine/platform/graphics/GraphicsTypes.h"
#include "sky/engine/wtf/WeakPtr.h"
@@ -35,7 +34,7 @@ namespace blink {
class ImageCandidate;
class MediaQueryList;
-class HTMLImageElement final : public HTMLElement, public CanvasImageSource {
+class HTMLImageElement final : public HTMLElement {
DEFINE_WRAPPERTYPEINFO();
public:
class ViewportChangeListener;
@@ -77,12 +76,6 @@ public:
virtual const AtomicString imageSourceURL() const override;
- // CanvasImageSourceImplementations
- virtual PassRefPtr<Image> getSourceImageForCanvas(SourceImageMode, SourceImageStatus*) const;
- virtual FloatSize sourceSize() const override;
- virtual FloatSize defaultDestinationSize() const override;
- virtual const KURL& sourceURL() const override;
-
protected:
explicit HTMLImageElement(Document&, bool createdByParser = false);
« no previous file with comments | « sky/engine/core/html/HTMLCanvasElement.idl ('k') | sky/engine/core/html/HTMLImageElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698