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

Unified Diff: public/web/WebElement.h

Issue 350433004: Revert of Remove WebElement::hasTagName. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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 | « Source/web/tests/WebViewTest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebElement.h
diff --git a/public/web/WebElement.h b/public/web/WebElement.h
index a8d2414642142efee1e0a544ffd2195370fe192b..9308da0ad79f95aa555a77169d3f13420c4bdc40 100644
--- a/public/web/WebElement.h
+++ b/public/web/WebElement.h
@@ -54,6 +54,10 @@
BLINK_EXPORT bool isTextFormControlElement() const;
// Returns the qualified name, which may contain a prefix and a colon.
BLINK_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.
+ BLINK_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.
BLINK_EXPORT bool hasHTMLTagName(const WebString&) const;
« no previous file with comments | « Source/web/tests/WebViewTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698