Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(159)

Side by Side Diff: chrome/common/extensions/api/commands.json

Issue 1828683002: [Extensions] Convert APIs to use movable types [3] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Antony's Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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},
9 "types": [ 10 "types": [
10 { 11 {
11 "id": "Command", 12 "id": "Command",
12 "type": "object", 13 "type": "object",
13 "properties": { 14 "properties": {
14 "name": { 15 "name": {
15 "type": "string", 16 "type": "string",
16 "optional": true, 17 "optional": true,
17 "description": "The name of the Extension Command" 18 "description": "The name of the Extension Command"
18 }, 19 },
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 } 62 }
62 } 63 }
63 ], 64 ],
64 "description": "Called to return the registered commands." 65 "description": "Called to return the registered commands."
65 } 66 }
66 ] 67 ]
67 } 68 }
68 ] 69 ]
69 } 70 }
70 ] 71 ]
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/command_line_private.json ('k') | chrome/common/extensions/api/content_settings.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698