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

Side by Side Diff: third_party/WebKit/Source/devtools/protocol.json

Issue 1992493002: [DevTools] Pass bindRemoteObject function to Custom Formatter directly (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 unified diff | Download patch
OLDNEW
1 { 1 {
2 "version": { "major": "1", "minor": "1" }, 2 "version": { "major": "1", "minor": "1" },
3 "domains": [{ 3 "domains": [{
4 "domain": "Inspector", 4 "domain": "Inspector",
5 "hidden": true, 5 "hidden": true,
6 "types": [], 6 "types": [],
7 "commands": [ 7 "commands": [
8 { 8 {
9 "name": "enable", 9 "name": "enable",
10 "description": "Enables inspector domain notifications.", 10 "description": "Enables inspector domain notifications.",
(...skipping 774 matching lines...) Expand 10 before | Expand all | Expand 10 after
785 { "name": "type", "type": "string", "enum": ["object", "func tion", "undefined", "string", "number", "boolean", "symbol"], "description": "Ob ject type." }, 785 { "name": "type", "type": "string", "enum": ["object", "func tion", "undefined", "string", "number", "boolean", "symbol"], "description": "Ob ject type." },
786 { "name": "subtype", "type": "string", "optional": true, "en um": ["array", "null", "node", "regexp", "date", "map", "set", "iterator", "gene rator", "error"], "description": "Object subtype hint. Specified for <code>objec t</code> type values only." }, 786 { "name": "subtype", "type": "string", "optional": true, "en um": ["array", "null", "node", "regexp", "date", "map", "set", "iterator", "gene rator", "error"], "description": "Object subtype hint. Specified for <code>objec t</code> type values only." },
787 { "name": "className", "type": "string", "optional": true, " description": "Object class (constructor) name. Specified for <code>object</code > type values only." }, 787 { "name": "className", "type": "string", "optional": true, " description": "Object class (constructor) name. Specified for <code>object</code > type values only." },
788 { "name": "value", "type": "any", "optional": true, "descrip tion": "Remote object value in case of primitive values or JSON values (if it wa s requested), or description string if the value can not be JSON-stringified (li ke NaN, Infinity, -Infinity, -0)." }, 788 { "name": "value", "type": "any", "optional": true, "descrip tion": "Remote object value in case of primitive values or JSON values (if it wa s requested), or description string if the value can not be JSON-stringified (li ke NaN, Infinity, -Infinity, -0)." },
789 { "name": "description", "type": "string", "optional": true, "description": "String representation of the object." }, 789 { "name": "description", "type": "string", "optional": true, "description": "String representation of the object." },
790 { "name": "objectId", "$ref": "RemoteObjectId", "optional": true, "description": "Unique object identifier (for non-primitive values)." }, 790 { "name": "objectId", "$ref": "RemoteObjectId", "optional": true, "description": "Unique object identifier (for non-primitive values)." },
791 { "name": "preview", "$ref": "ObjectPreview", "optional": tr ue, "description": "Preview containing abbreviated property values. Specified fo r <code>object</code> type values only.", "hidden": true }, 791 { "name": "preview", "$ref": "ObjectPreview", "optional": tr ue, "description": "Preview containing abbreviated property values. Specified fo r <code>object</code> type values only.", "hidden": true },
792 { "name": "customPreview", "$ref": "CustomPreview", "optiona l": true, "hidden": true} 792 { "name": "customPreview", "$ref": "CustomPreview", "optiona l": true, "hidden": true}
793 ] 793 ]
794 }, 794 },
795 { "id": "CustomPreview", 795 {
796 "id": "CustomPreview",
796 "type": "object", 797 "type": "object",
797 "hidden": true, 798 "hidden": true,
798 "properties": [ 799 "properties": [
799 { "name": "header", "type": "string"}, 800 { "name": "header", "type": "string"},
800 { "name": "hasBody", "type": "boolean"}, 801 { "name": "hasBody", "type": "boolean"},
801 {"name": "formatterObjectId", "$ref": "RemoteObjectId"}, 802 { "name": "formatterObjectId", "$ref": "RemoteObjectId"},
802 {"name": "configObjectId", "$ref": "RemoteObjectId", "option al": true} 803 { "name": "bindRemoteObjectFunctionId", "$ref": "RemoteObjec tId" },
804 { "name": "configObjectId", "$ref": "RemoteObjectId", "optio nal": true }
803 ] 805 ]
804 }, 806 },
805 { 807 {
806 "id": "ObjectPreview", 808 "id": "ObjectPreview",
807 "type": "object", 809 "type": "object",
808 "hidden": true, 810 "hidden": true,
809 "description": "Object containing abbreviated remote object valu e.", 811 "description": "Object containing abbreviated remote object valu e.",
810 "properties": [ 812 "properties": [
811 { "name": "type", "type": "string", "enum": ["object", "func tion", "undefined", "string", "number", "boolean", "symbol"], "description": "Ob ject type." }, 813 { "name": "type", "type": "string", "enum": ["object", "func tion", "undefined", "string", "number", "boolean", "symbol"], "description": "Ob ject type." },
812 { "name": "subtype", "type": "string", "optional": true, "en um": ["array", "null", "node", "regexp", "date", "map", "set", "iterator", "gene rator", "error"], "description": "Object subtype hint. Specified for <code>objec t</code> type values only." }, 814 { "name": "subtype", "type": "string", "optional": true, "en um": ["array", "null", "node", "regexp", "date", "map", "set", "iterator", "gene rator", "error"], "description": "Object subtype hint. Specified for <code>objec t</code> type values only." },
(...skipping 4344 matching lines...) Expand 10 before | Expand all | Expand 10 after
5157 "parameters": [ 5159 "parameters": [
5158 { "name": "origin", "type": "string", "description": "Securi ty origin." }, 5160 { "name": "origin", "type": "string", "description": "Securi ty origin." },
5159 { "name": "storageTypes", "type": "string", "description": " Comma separated origin names." } 5161 { "name": "storageTypes", "type": "string", "description": " Comma separated origin names." }
5160 ], 5162 ],
5161 "description": "Clears storage for origin.", 5163 "description": "Clears storage for origin.",
5162 "handlers": ["browser"] 5164 "handlers": ["browser"]
5163 } 5165 }
5164 ] 5166 ]
5165 }] 5167 }]
5166 } 5168 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698