diff options
author | Torne (Richard Coles) <torne@google.com> | 2013-09-26 13:25:12 +0100 |
---|---|---|
committer | Torne (Richard Coles) <torne@google.com> | 2013-09-26 13:25:12 +0100 |
commit | 06f816c7c76bc45a15e452ade8a34e8af077693e (patch) | |
tree | d7a185cb911e47d59888779a25809b26d0a421aa /Source/devtools/protocol.json | |
parent | 36811536b9bd86e7f1d045052a5b0551fa48ac9f (diff) | |
download | WebKit-06f816c7c76bc45a15e452ade8a34e8af077693e.tar.gz |
Merge from Chromium at DEPS revision 225410
This commit was generated by merge_to_master.py.
Change-Id: I639f21f936f7475217030840a808765c32e44635
Diffstat (limited to 'Source/devtools/protocol.json')
-rw-r--r-- | Source/devtools/protocol.json | 39 |
1 files changed, 36 insertions, 3 deletions
diff --git a/Source/devtools/protocol.json b/Source/devtools/protocol.json index 72b27bd68..bf3b39310 100644 --- a/Source/devtools/protocol.json +++ b/Source/devtools/protocol.json @@ -603,6 +603,14 @@ { "name": "offsetBottom", "type": "number", "hidden": true, "optional": true, "description": "Bottom offset in DIP." } ], "hidden": true + }, + { + "name": "screencastVisibilityChanged", + "description": "Fired when the page with currently enabled screencast was shown or hidden </code>.", + "parameters": [ + { "name": "visible", "type": "boolean", "description": "True if the page is visible." } + ], + "hidden": true } ] }, @@ -2205,6 +2213,17 @@ ], "description": "Returns node id at given location.", "hidden": true + }, + { + "name": "getRelayoutBoundary", + "parameters": [ + { "name": "nodeId", "$ref": "NodeId", "description": "Id of the node." } + ], + "returns": [ + { "name": "nodeId", "$ref": "NodeId", "description": "Relayout boundary node id for the given node." } + ], + "description": "Returns the id of the nearest ancestor that is a relayout boundary.", + "hidden": true } ], "events": [ @@ -2577,6 +2596,7 @@ "commands": [ { "name": "enable", + "async": true, "description": "Enables the CSS agent for the given page. Clients should not assume that the CSS agent has been enabled until the result of this command is received." }, { @@ -2854,15 +2874,18 @@ "name": "start", "parameters": [ { "name": "maxCallStackDepth", "optional": true, "type": "integer", "description": "Samples JavaScript stack traces up to <code>maxCallStackDepth</code>, defaults to 5." }, + { "name": "bufferEvents", "optional": true, "type": "boolean", "hidden": true, "description": "Whether instrumentation events should be buffered and returned upon <code>stop</code> call." }, { "name": "includeDomCounters", "optional": true, "type": "boolean", "hidden": true, "description": "Whether DOM counters data should be included into timeline events." }, { "name": "includeNativeMemoryStatistics", "optional": true, "type": "boolean", "hidden": true, "description": "Whether native memory usage statistics should be reported as part of timeline events." } - ], "description": "Starts capturing instrumentation events." }, { "name": "stop", - "description": "Stops capturing instrumentation events." + "description": "Stops capturing instrumentation events.", + "returns": [ + { "name": "events", "type": "array", "items": { "$ref": "TimelineEvent" }, "optional": true, "hidden": true, "description": "Timeline event record data." } + ] } ], "events": [ @@ -3040,7 +3063,10 @@ }, { "name": "stepOver", - "description": "Steps over the statement." + "parameters": [ + { "name": "callFrameId", "optional": true, "$ref": "CallFrameId", "description": "A frame where the step must be performed." } + ], + "description": "Steps over the statement. Moves execution to the next statement in the top call frame or in the specified one." }, { "name": "stepInto", @@ -3410,6 +3436,13 @@ "name": "disable" }, { + "name": "setSamplingInterval", + "parameters": [ + { "name": "interval", "type": "integer", "description": "New sampling interval in microseconds." } + ], + "description": "Changes CPU profiler sampling interval. Must be called before CPU profiles recording started." + }, + { "name": "start" }, { |