| 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": "experimental.keybinding", | 7 "namespace": "experimental.keybinding", |
| 8 "events": [ | 8 "events": [ |
| 9 { | 9 { |
| 10 "name": "onCommand", | 10 "name": "onCommand", |
| 11 "description": "Fired when a registered command is activated using a key
board shortcut.", | 11 "description": "Fired when a registered command is activated using a key
board shortcut.", |
| 12 "type": "function", | 12 "type": "function", |
| 13 "parameters": [ | 13 "parameters": [ |
| 14 { | 14 { |
| 15 "name": "command", | 15 "name": "command", |
| 16 "type": "string" | 16 "type": "string" |
| 17 } | 17 } |
| 18 ] | 18 ] |
| 19 } | 19 } |
| 20 ] | 20 ] |
| 21 } | 21 } |
| 22 ] | 22 ] |
| OLD | NEW |