| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 [ | 5 [ |
| 6 { | 6 { |
| 7 "namespace": "devtools.inspectedWindow", | 7 "namespace": "devtools.inspectedWindow", |
| 8 "nocompile": true, | 8 "nocompile": true, |
| 9 "types": [ | 9 "types": [ |
| 10 { | 10 { |
| (...skipping 472 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 483 "type": "function", | 483 "type": "function", |
| 484 "description": "Specifies the function to be called when the user clicks
a resource link in the Developer Tools window. To unset the handler, either cal
l the method with no parameters or pass null as the parameter.", | 484 "description": "Specifies the function to be called when the user clicks
a resource link in the Developer Tools window. To unset the handler, either cal
l the method with no parameters or pass null as the parameter.", |
| 485 "parameters": [ | 485 "parameters": [ |
| 486 { | 486 { |
| 487 "name": "callback", | 487 "name": "callback", |
| 488 "type": "function", | 488 "type": "function", |
| 489 "optional": true, | 489 "optional": true, |
| 490 "description": "A function that is called when the user clicks on a
valid resource link in Developer Tools window. Note that if the user clicks an i
nvalid URL or an XHR, this function is not called.", | 490 "description": "A function that is called when the user clicks on a
valid resource link in Developer Tools window. Note that if the user clicks an i
nvalid URL or an XHR, this function is not called.", |
| 491 "parameters": [ | 491 "parameters": [ |
| 492 { | 492 { |
| 493 "name": "Resource", | 493 "name": "devtools.inspectedWindow.Resource", |
| 494 "type": "object", | 494 "type": "object", |
| 495 "description": "A <a href=\"devtools.inspectedWindow.html#type-R
esource\">Resource</a> object for the resource that was clicked." | 495 "description": "A <a href=\"devtools.inspectedWindow.html#type-R
esource\">Resource</a> object for the resource that was clicked." |
| 496 } | 496 } |
| 497 ] | 497 ] |
| 498 } | 498 } |
| 499 ] | 499 ] |
| 500 } | 500 } |
| 501 ] | 501 ] |
| 502 }, | 502 }, |
| 503 { | 503 { |
| (...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 850 "type": "string" | 850 "type": "string" |
| 851 }, | 851 }, |
| 852 "Severe": { | 852 "Severe": { |
| 853 "type": "string" | 853 "type": "string" |
| 854 } | 854 } |
| 855 } | 855 } |
| 856 } | 856 } |
| 857 ] | 857 ] |
| 858 } | 858 } |
| 859 ] | 859 ] |
| OLD | NEW |