| 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 "description": "Use the <code>chrome.contextMenus</code> API to add items to
Google Chrome's context menu. You can choose what types of objects your context
menu additions apply to, such as images, hyperlinks, and pages.", | 8 "description": "Use the <code>chrome.contextMenus</code> API to add items to
Google Chrome's context menu. You can choose what types of objects your context
menu additions apply to, such as images, hyperlinks, and pages.", |
| 9 "compiler_options": {"use_movable_types": true}, |
| 9 "properties": { | 10 "properties": { |
| 10 "ACTION_MENU_TOP_LEVEL_LIMIT": { | 11 "ACTION_MENU_TOP_LEVEL_LIMIT": { |
| 11 "value": 6, | 12 "value": 6, |
| 12 "description": "The maximum number of top level extension items that can
be added to an extension action context menu. Any items beyond this limit will
be ignored." | 13 "description": "The maximum number of top level extension items that can
be added to an extension action context menu. Any items beyond this limit will
be ignored." |
| 13 } | 14 } |
| 14 }, | 15 }, |
| 15 "types": [ | 16 "types": [ |
| 16 { | 17 { |
| 17 "id": "ContextType", | 18 "id": "ContextType", |
| 18 "type": "string", | 19 "type": "string", |
| (...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 250 ], | 251 ], |
| 251 "events": [ | 252 "events": [ |
| 252 { | 253 { |
| 253 "name": "onClicked", | 254 "name": "onClicked", |
| 254 "type": "function", | 255 "type": "function", |
| 255 "$ref": "contextMenusInternal.onClicked" | 256 "$ref": "contextMenusInternal.onClicked" |
| 256 } | 257 } |
| 257 ] | 258 ] |
| 258 } | 259 } |
| 259 ] | 260 ] |
| OLD | NEW |