| 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": "contextMenus", | 7 "namespace": "contextMenus", |
| 8 "dependencies": [ "tabs" ], | 8 "dependencies": [ "tabs" ], |
| 9 "types": [ | 9 "types": [ |
| 10 { | 10 { |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 "optional": true, | 102 "optional": true, |
| 103 "description": "A function that will be called back when the men
u item is clicked.", | 103 "description": "A function that will be called back when the men
u item is clicked.", |
| 104 "parameters": [ | 104 "parameters": [ |
| 105 { | 105 { |
| 106 "name": "info", | 106 "name": "info", |
| 107 "$ref": "OnClickData", | 107 "$ref": "OnClickData", |
| 108 "description": "Information about the item clicked and the c
ontext where the click happened." | 108 "description": "Information about the item clicked and the c
ontext where the click happened." |
| 109 }, | 109 }, |
| 110 { | 110 { |
| 111 "name": "tab", | 111 "name": "tab", |
| 112 "$ref": "Tab", | 112 "$ref": "tabs.Tab", |
| 113 "description": "The details of the tab where the click took
place." | 113 "description": "The details of the tab where the click took
place." |
| 114 } | 114 } |
| 115 ] | 115 ] |
| 116 }, | 116 }, |
| 117 "parentId": { | 117 "parentId": { |
| 118 "type": "integer", | 118 "type": "integer", |
| 119 "optional": true, | 119 "optional": true, |
| 120 "description": "The ID of a parent menu item; this makes the ite
m a child of a previously added item." | 120 "description": "The ID of a parent menu item; this makes the ite
m a child of a previously added item." |
| 121 }, | 121 }, |
| 122 "documentUrlPatterns": { | 122 "documentUrlPatterns": { |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 247 "name": "callback", | 247 "name": "callback", |
| 248 "optional": true, | 248 "optional": true, |
| 249 "parameters": [], | 249 "parameters": [], |
| 250 "description": "Called when removal is complete." | 250 "description": "Called when removal is complete." |
| 251 } | 251 } |
| 252 ] | 252 ] |
| 253 } | 253 } |
| 254 ] | 254 ] |
| 255 } | 255 } |
| 256 ] | 256 ] |
| OLD | NEW |