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

Unified Diff: Source/WebKit/chromium/public/WebElement.h

Issue 11273084: Merge 130847 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1271/
Patch Set: Created 8 years, 2 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 | « no previous file | Source/WebKit/chromium/src/WebElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebKit/chromium/public/WebElement.h
===================================================================
--- Source/WebKit/chromium/public/WebElement.h (revision 132828)
+++ Source/WebKit/chromium/public/WebElement.h (working copy)
@@ -51,8 +51,15 @@
WEBKIT_EXPORT bool isFormControlElement() const;
WEBKIT_EXPORT bool isTextFormControlElement() const;
+ // Returns the qualified name, which may contain a prefix and a colon.
WEBKIT_EXPORT WebString tagName() const;
+ // Check if this element has the specified qualified name. This function
+ // doesn't makes much sense because we have no ways to check namespace
+ // URI. Do not use this.
WEBKIT_EXPORT bool hasTagName(const WebString&) const;
+ // Check if this element has the specified local tag name, and the HTML
+ // namespace. Tag name matching is case-insensitive.
+ WEBKIT_EXPORT bool hasHTMLTagName(const WebString&) const;
WEBKIT_EXPORT bool hasAttribute(const WebString&) const;
WEBKIT_EXPORT WebString getAttribute(const WebString&) const;
WEBKIT_EXPORT bool setAttribute(const WebString& name, const WebString& value);
« no previous file with comments | « no previous file | Source/WebKit/chromium/src/WebElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698