| 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": "commands", | 7 "namespace": "commands", |
| 8 "description": "Use the commands API to add keyboard shortcuts that trigger
actions in your extension, for example, an action to open the browser action or
send a command to the extension.", | 8 "description": "Use the commands API to add keyboard shortcuts that trigger
actions in your extension, for example, an action to open the browser action or
send a command to the extension.", |
| 9 "compiler_options": {"use_movable_types": true}, | |
| 10 "types": [ | 9 "types": [ |
| 11 { | 10 { |
| 12 "id": "Command", | 11 "id": "Command", |
| 13 "type": "object", | 12 "type": "object", |
| 14 "properties": { | 13 "properties": { |
| 15 "name": { | 14 "name": { |
| 16 "type": "string", | 15 "type": "string", |
| 17 "optional": true, | 16 "optional": true, |
| 18 "description": "The name of the Extension Command" | 17 "description": "The name of the Extension Command" |
| 19 }, | 18 }, |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 } | 61 } |
| 63 } | 62 } |
| 64 ], | 63 ], |
| 65 "description": "Called to return the registered commands." | 64 "description": "Called to return the registered commands." |
| 66 } | 65 } |
| 67 ] | 66 ] |
| 68 } | 67 } |
| 69 ] | 68 ] |
| 70 } | 69 } |
| 71 ] | 70 ] |
| OLD | NEW |