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

Unified Diff: sky/engine/public/web/WebElement.h

Issue 772133003: Mostly merge HTMLElement into Element. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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/HTMLImageElement.cpp ('k') | sky/engine/web/WebElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/public/web/WebElement.h
diff --git a/sky/engine/public/web/WebElement.h b/sky/engine/public/web/WebElement.h
index e9b09c8b2d7e813d3555d0a4707865216db5d6c5..26bab80d36700917ad12d97c4b1bce91b5715ba9 100644
--- a/sky/engine/public/web/WebElement.h
+++ b/sky/engine/public/web/WebElement.h
@@ -50,9 +50,7 @@ public:
// Returns the qualified name, which may contain a prefix and a colon.
BLINK_EXPORT WebString tagName() const;
- // Check if this element has the specified local tag name, and the HTML
- // namespace. Tag name matching is case-insensitive.
- BLINK_EXPORT bool hasHTMLTagName(const WebString&) const;
+
BLINK_EXPORT bool hasAttribute(const WebString&) const;
BLINK_EXPORT void removeAttribute(const WebString&);
BLINK_EXPORT WebString getAttribute(const WebString&) const;
@@ -69,10 +67,6 @@ public:
// "Content-Language" header as a fallback.
BLINK_EXPORT WebString computeInheritedLanguage() const;
- // Returns the image contents of this element or a null WebImage
- // if there isn't any.
- BLINK_EXPORT WebImage imageContents();
-
#if BLINK_IMPLEMENTATION
WebElement(const PassRefPtr<Element>&);
WebElement& operator=(const PassRefPtr<Element>&);
« no previous file with comments | « sky/engine/core/html/HTMLImageElement.cpp ('k') | sky/engine/web/WebElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698