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

Unified Diff: third_party/WebKit/Source/devtools/protocol.json

Issue 2012753003: DevTools: consolidate protocol generators for front-end, backend and type builder. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/devtools/protocol.json
diff --git a/third_party/WebKit/Source/devtools/protocol.json b/third_party/WebKit/Source/devtools/protocol.json
index f8afcbadebf8d288e8ff2f7bc1f208d0c5cb92c8..29be13e8d8d93ef176dd42fa73f0fa9e9b4893d0 100644
--- a/third_party/WebKit/Source/devtools/protocol.json
+++ b/third_party/WebKit/Source/devtools/protocol.json
@@ -73,6 +73,7 @@
{
"domain": "Page",
"description": "Actions and events related to the inspected page belong to the page domain.",
+ "depends": ["Debugger", "DOM"],
"types": [
{
"id": "ResourceType",
@@ -1083,6 +1084,7 @@
{
"domain": "Console",
"description": "Console domain defines methods and events for interaction with the JavaScript console. Console collects messages created by means of the <a href='http://getfirebug.com/wiki/index.php/Console_API'>JavaScript Console API</a>. One needs to enable this domain using <code>enable</code> command in order to start receiving the console messages. Browser collects messages issued while console domain is not enabled as well and reports them using <code>messageAdded</code> notification upon enabling.",
+ "depends": ["Runtime"],
"types": [
{
"id": "Timestamp",
@@ -1214,6 +1216,7 @@
{
"domain": "Network",
"description": "Network domain allows tracking network activities of the page. It exposes information about http, file, data and other requests and responses, their headers, bodies, timing, etc.",
+ "depends": ["Runtime"],
"types": [
{
"id": "LoaderId",
@@ -2246,6 +2249,7 @@
{
"domain": "DOM",
"description": "This domain exposes DOM read/write operations. Each DOM Node is represented with its mirror object that has an <code>id</code>. This <code>id</code> can be used to get additional information on the Node, resolve it into the JavaScript object wrapper, etc. It is important that client receives DOM events only for the nodes that are known to the client. Backend keeps track of the nodes that were sent to the client and never sends the same node twice. It is client's responsibility to collect information about the nodes that were sent to the client.<p>Note that <code>iframe</code> owner elements will return corresponding document elements as their child nodes.</p>",
+ "depends": ["Runtime"],
"types": [
{
"id": "NodeId",
@@ -2925,6 +2929,7 @@
"domain": "CSS",
"hidden": true,
"description": "This domain exposes CSS read/write operations. All CSS objects (stylesheets, rules, and styles) have an associated <code>id</code> used in subsequent operations on the related object. Each object type has a specific <code>id</code> structure, and those are not interchangeable between objects of different kinds. CSS objects can be loaded using the <code>get*ForNode()</code> calls (which accept a DOM node id). A client can also discover all the existing stylesheets with the <code>getAllStyleSheets()</code> method (or keeping track of the <code>styleSheetAdded</code>/<code>styleSheetRemoved</code> events) and subsequently load the required stylesheet contents using the <code>getStyleSheet[Text]()</code> methods.",
+ "depends": ["DOM"],
"types": [
{
"id": "StyleSheetId",
@@ -3402,6 +3407,7 @@
{
"domain": "Debugger",
"description": "Debugger domain exposes JavaScript debugging capabilities. It allows setting and removing breakpoints, stepping through execution, exploring stack traces, etc.",
+ "depends": ["Runtime"],
"types": [
{
"id": "BreakpointId",
@@ -3930,6 +3936,7 @@
},
{
"domain": "Profiler",
+ "depends": ["Runtime"],
"hidden": true,
"types": [
{
@@ -4020,6 +4027,7 @@
},
{
"domain": "HeapProfiler",
+ "depends": ["Runtime"],
"hidden": true,
"types": [
{
@@ -4851,6 +4859,7 @@
{
"domain": "Animation",
"hidden": true,
+ "depends": ["Runtime", "DOM"],
"types": [
{
"id": "Animation",
@@ -5011,6 +5020,7 @@
{
"domain": "Accessibility",
"hidden": true,
+ "depends": ["DOM"],
"types": [
{
"id": "AXNodeId",

Powered by Google App Engine
This is Rietveld 408576698