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

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

Issue 1055323002: Remove the x,y,width,height methods from HTMLImageElement. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: remove attrs 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/HTMLAttributeNames.in ('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 d7d62ef9e24ff28877e157dc58dc2374e85f16da..6167d04006c304430a23ef68d4d752e6a671d820 100644
--- a/sky/engine/core/html/HTMLImageElement.h
+++ b/sky/engine/core/html/HTMLImageElement.h
@@ -45,9 +45,6 @@ public:
virtual ~HTMLImageElement();
- int width();
- int height();
-
int naturalWidth() const;
int naturalHeight() const;
const String& currentSrc() const;
@@ -55,16 +52,9 @@ public:
ImageResource* cachedImage() const { return imageLoader().image(); }
void setImageResource(ImageResource* i) { imageLoader().setImage(i); };
- void setHeight(int);
-
KURL src() const;
void setSrc(const String&);
- void setWidth(int);
-
- int x() const;
- int y() const;
-
bool complete() const;
bool hasPendingActivity() const { return imageLoader().hasPendingActivity(); }
« no previous file with comments | « sky/engine/core/html/HTMLAttributeNames.in ('k') | sky/engine/core/html/HTMLImageElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698