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

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

Issue 23050018: DevTools: expose layer compositing reasons and paint count via layer tree agent (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fixed gcc build Created 7 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « Source/devtools/front_end/LayerTreeModel.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 { 1 {
2 "version": { "major": "1", "minor": "0" }, 2 "version": { "major": "1", "minor": "0" },
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 3832 matching lines...) Expand 10 before | Expand all | Expand 10 after
3843 }, 3843 },
3844 { 3844 {
3845 "name": "getLayers", 3845 "name": "getLayers",
3846 "parameters": [ 3846 "parameters": [
3847 { "name": "nodeId", "optional": true, "$ref": "DOM.NodeId", "description": "Root of the subtree for which we want to gather layers (return e ntire tree if not specified)" } 3847 { "name": "nodeId", "optional": true, "$ref": "DOM.NodeId", "description": "Root of the subtree for which we want to gather layers (return e ntire tree if not specified)" }
3848 ], 3848 ],
3849 "description": "Returns the layer tree structure of the current page.", 3849 "description": "Returns the layer tree structure of the current page.",
3850 "returns": [ 3850 "returns": [
3851 { "name": "layers", "type": "array", "items": { "$ref": "Lay er" }, "description": "Child layers." } 3851 { "name": "layers", "type": "array", "items": { "$ref": "Lay er" }, "description": "Child layers." }
3852 ] 3852 ]
3853 },
3854 {
3855 "name": "compositingReasons",
3856 "parameters": [
3857 { "name": "layerId", "$ref": "LayerId", "description": "The id of the layer for which we want to get the reasons it was composited." }
3858 ],
3859 "description": "Provides the reasons why the given layer was com posited.",
3860 "returns": [
3861 { "name": "compositingReasons", "type": "array", "items": { "type": "string" }, "description": "A list of strings specifying reasons for the given layer to become composited." }
3862 ]
3853 } 3863 }
3854 ], 3864 ],
3855 "events": [ 3865 "events": [
3856 { 3866 {
3857 "name": "layerTreeDidChange" 3867 "name": "layerTreeDidChange"
3858 } 3868 }
3859 ] 3869 ]
3860 }, 3870 },
3861 { 3871 {
3862 "domain": "Tracing", 3872 "domain": "Tracing",
(...skipping 17 matching lines...) Expand all
3880 "parameters": [ 3890 "parameters": [
3881 { "name": "value", "type": "array", "items": { "type": "obje ct" } } 3891 { "name": "value", "type": "array", "items": { "type": "obje ct" } }
3882 ] 3892 ]
3883 }, 3893 },
3884 { 3894 {
3885 "name": "tracingComplete" 3895 "name": "tracingComplete"
3886 } 3896 }
3887 ] 3897 ]
3888 }] 3898 }]
3889 } 3899 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/LayerTreeModel.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698