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 "description": "Use the <code>chrome.pageAction</code> API to put icons insi
de the address bar. Page actions represent actions that can be taken on the curr
ent page, but that aren't applicable to all pages.", |
8 "types": [ | 9 "types": [ |
9 { | 10 { |
10 "id": "ImageDataType", | 11 "id": "ImageDataType", |
11 "type": "object", | 12 "type": "object", |
12 "isInstanceOf": "ImageData", | 13 "isInstanceOf": "ImageData", |
13 "additionalProperties": { "type": "any" }, | 14 "additionalProperties": { "type": "any" }, |
14 "description": "Pixel data for an image. Must be an ImageData object (fo
r example, from a <code>canvas</code> element)." | 15 "description": "Pixel data for an image. Must be an ImageData object (fo
r example, from a <code>canvas</code> element)." |
15 } | 16 } |
16 ], | 17 ], |
17 "functions": [ | 18 "functions": [ |
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
181 "parameters": [ | 182 "parameters": [ |
182 { | 183 { |
183 "name": "tab", | 184 "name": "tab", |
184 "$ref": "tabs.Tab" | 185 "$ref": "tabs.Tab" |
185 } | 186 } |
186 ] | 187 ] |
187 } | 188 } |
188 ] | 189 ] |
189 } | 190 } |
190 ] | 191 ] |
OLD | NEW |