| 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": "scriptBadge", | 7 "namespace": "scriptBadge", |
| 8 "description": "Use the <code>chrome.scriptBadge</code> API to control the b
ehaviour of the script badge.", |
| 8 "functions": [ | 9 "functions": [ |
| 9 { | 10 { |
| 10 "name": "setPopup", | 11 "name": "setPopup", |
| 11 "type": "function", | 12 "type": "function", |
| 12 "description": "Sets the html document to be opened as a popup when the
user clicks on the script badge's icon.", | 13 "description": "Sets the html document to be opened as a popup when the
user clicks on the script badge's icon.", |
| 13 "parameters": [ | 14 "parameters": [ |
| 14 { | 15 { |
| 15 "name": "details", | 16 "name": "details", |
| 16 "type": "object", | 17 "type": "object", |
| 17 "properties": { | 18 "properties": { |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 "parameters": [ | 80 "parameters": [ |
| 80 { | 81 { |
| 81 "name": "tab", | 82 "name": "tab", |
| 82 "$ref": "tabs.Tab" | 83 "$ref": "tabs.Tab" |
| 83 } | 84 } |
| 84 ] | 85 ] |
| 85 } | 86 } |
| 86 ] | 87 ] |
| 87 } | 88 } |
| 88 ] | 89 ] |
| OLD | NEW |