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

Unified Diff: third_party/WebKit/Source/core/dom/Node.h

Issue 2170793002: Add Node.getRootNode(options) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 4 years, 5 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: third_party/WebKit/Source/core/dom/Node.h
diff --git a/third_party/WebKit/Source/core/dom/Node.h b/third_party/WebKit/Source/core/dom/Node.h
index d0d15f40de457e17cf5ec2e664d271e761c8b952..b532bf54b09dee16ad26879e146fcf4b0721d3f1 100644
--- a/third_party/WebKit/Source/core/dom/Node.h
+++ b/third_party/WebKit/Source/core/dom/Node.h
@@ -28,6 +28,7 @@
#include "bindings/core/v8/ExceptionStatePlaceholder.h"
#include "bindings/core/v8/NodeOrString.h"
#include "core/CoreExport.h"
+#include "core/dom/GetRootNodeOptions.h"
kochi 2016/07/25 04:48:03 Strictly speaking you don't have to include this i
hayato 2016/07/25 05:03:43 Done
#include "core/dom/MutationObserver.h"
#include "core/dom/SimulatedClickOptions.h"
#include "core/dom/TreeScope.h"
@@ -201,6 +202,7 @@ public:
NodeList* childNodes();
Node* firstChild() const;
Node* lastChild() const;
+ Node* getRootNode(const GetRootNodeOptions&) const;
Node& treeRoot() const;
Node& shadowIncludingRoot() const;
bool isUnclosedNodeOf(const Node&) const;

Powered by Google App Engine
This is Rietveld 408576698