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

Unified Diff: plugins/org.chromium.sdk.wipbackend.dev/src-wip-generated/org/chromium/sdk/internal/wip/protocol/output/dom/RequestChildNodesParams.java

Issue 12047026: Catch up with WIP (Closed) Base URL: https://chromedevtools.googlecode.com/svn/trunk
Patch Set: Created 7 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: plugins/org.chromium.sdk.wipbackend.dev/src-wip-generated/org/chromium/sdk/internal/wip/protocol/output/dom/RequestChildNodesParams.java
diff --git a/plugins/org.chromium.sdk.wipbackend.dev/src-wip-generated/org/chromium/sdk/internal/wip/protocol/output/dom/RequestChildNodesParams.java b/plugins/org.chromium.sdk.wipbackend.dev/src-wip-generated/org/chromium/sdk/internal/wip/protocol/output/dom/RequestChildNodesParams.java
index 8aaabfca169f4470b412b920d54fc5e1dbe1743c..242299166d4c146449d0b04c957f26c3df37ad4a 100644
--- a/plugins/org.chromium.sdk.wipbackend.dev/src-wip-generated/org/chromium/sdk/internal/wip/protocol/output/dom/RequestChildNodesParams.java
+++ b/plugins/org.chromium.sdk.wipbackend.dev/src-wip-generated/org/chromium/sdk/internal/wip/protocol/output/dom/RequestChildNodesParams.java
@@ -1,18 +1,22 @@
// Generated source.
// Generator: org.chromium.sdk.internal.wip.tools.protocolgenerator.Generator
-// Origin: http://svn.webkit.org/repository/webkit/trunk/Source/WebCore/inspector/Inspector.json@102140
+// Origin: http://svn.webkit.org/repository/webkit/trunk/Source/WebCore/inspector/Inspector.json@140428
package org.chromium.sdk.internal.wip.protocol.output.dom;
/**
-Requests that children of the node with given id are returned to the caller in form of <code>setChildNodes</code> events.
+Requests that children of the node with given id are returned to the caller in form of <code>setChildNodes</code> events where not only immediate children are retrieved, but all children down to the specified depth.
*/
public class RequestChildNodesParams extends org.chromium.sdk.internal.wip.protocol.output.WipParams {
/**
@param nodeId Id of the node to get children for.
+ @param depthOpt The maximum depth at which children should be retrieved, defaults to 1. Use -1 for the entire subtree or provide an integer larger than 0.
*/
- public RequestChildNodesParams(long/*See org.chromium.sdk.internal.wip.protocol.common.dom.NodeIdTypedef*/ nodeId) {
+ public RequestChildNodesParams(long/*See org.chromium.sdk.internal.wip.protocol.common.dom.NodeIdTypedef*/ nodeId, Long depthOpt) {
this.put("nodeId", nodeId);
+ if (depthOpt != null) {
+ this.put("depth", depthOpt);
+ }
}
public static final String METHOD_NAME = org.chromium.sdk.internal.wip.protocol.BasicConstants.Domain.DOM + ".requestChildNodes";

Powered by Google App Engine
This is Rietveld 408576698