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

Unified Diff: public/web/WebNode.h

Issue 143453010: Have getElementsByClassName() / getElementsByTagName*() return an HTMLCollection (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Null HTMLCollection handling Created 6 years, 11 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
Index: public/web/WebNode.h
diff --git a/public/web/WebNode.h b/public/web/WebNode.h
index 2457e70561d7b3b2790c8a786f4e31371b36acdf..22e58b11d41a7fc73c75c3c4e81b57cc54417355 100644
--- a/public/web/WebNode.h
+++ b/public/web/WebNode.h
@@ -45,6 +45,7 @@ class WebDOMEventListenerPrivate;
class WebDocument;
class WebElement;
class WebFrame;
+class WebNodeCollection;
class WebNodeList;
class WebPluginContainer;
@@ -113,7 +114,7 @@ public:
BLINK_EXPORT void addEventListener(const WebString& eventType, WebDOMEventListener* listener, bool useCapture);
BLINK_EXPORT bool dispatchEvent(const WebDOMEvent&);
BLINK_EXPORT void simulateClick();
- BLINK_EXPORT WebNodeList getElementsByTagName(const WebString&) const;
+ BLINK_EXPORT WebNodeCollection getElementsByTagName(const WebString&) const;
BLINK_EXPORT WebElement querySelector(const WebString&, WebExceptionCode&) const;
BLINK_EXPORT WebElement rootEditableElement() const;
BLINK_EXPORT bool focused() const;

Powered by Google App Engine
This is Rietveld 408576698