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

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

Issue 16876004: Updating JSON Schema Compiler to add description field to schemas. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Making Schema Descriptions Compulsory Created 7 years, 6 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": "scriptBadge", 7 "namespace": "scriptBadge",
8 "description": "Use the <code>chrome.scriptBadge</code> API to inject an ico n into the browser that will open an HTML popup when clicked.",
epeterson 2013/06/21 20:10:15 Probably want to quality-check this one.
not at google - send to devlin 2013/06/21 20:58:51 Yeah the API is defunct anyway. But: Use the <cod
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
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 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698