| 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": "pageAction", | 7 "namespace": "pageAction", |
| 8 "dependencies": [ "tabs" ], | 8 "dependencies": [ "tabs" ], |
| 9 "types": [ | 9 "types": [ |
| 10 { | 10 { |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 "38": {"type": "string", "optional": true} | 108 "38": {"type": "string", "optional": true} |
| 109 } | 109 } |
| 110 } | 110 } |
| 111 ], | 111 ], |
| 112 "optional": true, | 112 "optional": true, |
| 113 "description": "Either a relative image path or a dictionary {si
ze -> relative image path} pointing to icon to be set. If the icon is specified
as a dictionary, the actual image to be used is chosen depending on screen's pix
el density. If the number of image pixels that fit into one screen space unit eq
uals <code>scale</code>, then image with size <code>scale</code> * 19 will be se
lected. Initially only scales 1 and 2 will be supported. At least one image must
be specified. Note that 'details.path = foo' is equivalent to 'details.imageDat
a = {'19': foo}'" | 113 "description": "Either a relative image path or a dictionary {si
ze -> relative image path} pointing to icon to be set. If the icon is specified
as a dictionary, the actual image to be used is chosen depending on screen's pix
el density. If the number of image pixels that fit into one screen space unit eq
uals <code>scale</code>, then image with size <code>scale</code> * 19 will be se
lected. Initially only scales 1 and 2 will be supported. At least one image must
be specified. Note that 'details.path = foo' is equivalent to 'details.imageDat
a = {'19': foo}'" |
| 114 }, | 114 }, |
| 115 "iconIndex": { | 115 "iconIndex": { |
| 116 "type": "integer", | 116 "type": "integer", |
| 117 "minimum": 0, | 117 "minimum": 0, |
| 118 "description": "<b>Deprecated.</b> The zero-based index into the
<b>icons</b> vector specified in the manifest.", | 118 "description": "<b>Deprecated.</b> This argument is ignored.", |
| 119 "optional": true | 119 "optional": true |
| 120 } | 120 } |
| 121 } | 121 } |
| 122 }, | 122 }, |
| 123 { | 123 { |
| 124 "type": "function", | 124 "type": "function", |
| 125 "name": "callback", | 125 "name": "callback", |
| 126 "optional": true, | 126 "optional": true, |
| 127 "parameters": [] | 127 "parameters": [] |
| 128 } | 128 } |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 182 "parameters": [ | 182 "parameters": [ |
| 183 { | 183 { |
| 184 "name": "tab", | 184 "name": "tab", |
| 185 "$ref": "tabs.Tab" | 185 "$ref": "tabs.Tab" |
| 186 } | 186 } |
| 187 ] | 187 ] |
| 188 } | 188 } |
| 189 ] | 189 ] |
| 190 } | 190 } |
| 191 ] | 191 ] |
| OLD | NEW |