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 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
295 "description": "Fired when a context menu item is clicked.", | 295 "description": "Fired when a context menu item is clicked.", |
296 "parameters": [ | 296 "parameters": [ |
297 { | 297 { |
298 "name": "info", | 298 "name": "info", |
299 "$ref": "OnClickData", | 299 "$ref": "OnClickData", |
300 "description": "Information about the item clicked and the context w here the click happened." | 300 "description": "Information about the item clicked and the context w here the click happened." |
301 }, | 301 }, |
302 { | 302 { |
303 "name": "tab", | 303 "name": "tab", |
304 "$ref": "tabs.Tab", | 304 "$ref": "tabs.Tab", |
305 "description": "The details of the tab where the click took place." | 305 "description": "The details of the tab where the click took place.", |
Mihai Parparita -not on Chrome
2012/08/16 19:52:42
Mention that the parameter will be missing in case
| |
306 "optional": true | |
306 } | 307 } |
307 ] | 308 ] |
308 } | 309 } |
309 ] | 310 ] |
310 } | 311 } |
311 ] | 312 ] |
OLD | NEW |