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

Unified Diff: public/web/WebNode.h

Issue 1345423002: Introduce WebNode::querySelectorAll. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 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/WebNodeTest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebNode.h
diff --git a/public/web/WebNode.h b/public/web/WebNode.h
index d075e755993fe28a8059d5e72c98979284f40131..df4c8b8f3ba646fd1ef999e7c16dd4067ef33a27 100644
--- a/public/web/WebNode.h
+++ b/public/web/WebNode.h
@@ -34,6 +34,7 @@
#include "../platform/WebCommon.h"
#include "../platform/WebPrivatePtr.h"
#include "../platform/WebString.h"
+#include "../platform/WebVector.h"
#include "WebExceptionCode.h"
namespace blink {
@@ -112,7 +113,8 @@ public:
BLINK_EXPORT void simulateClick();
// The argument should be lower-cased.
BLINK_EXPORT WebElementCollection getElementsByHTMLTagName(const WebString&) const;
- BLINK_EXPORT WebElement querySelector(const WebString&, WebExceptionCode&) const;
+ BLINK_EXPORT WebElement querySelector(const WebString& selector, WebExceptionCode&) const;
+ BLINK_EXPORT void querySelectorAll(const WebString& selector, WebExceptionCode&, WebVector<WebElement>& results) const;
BLINK_EXPORT bool focused() const;
BLINK_EXPORT bool remove();
« no previous file with comments | « Source/web/WebNodeTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698