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

Side by Side Diff: chrome/common/extensions/api/experimental_infobars.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: (kalman) rebase 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": "experimental.infobars", 7 "namespace": "experimental.infobars",
8 "description": "Use the <code>chrome.infobars</code> API to add a horizontal panel just above a tab's contents. See the screenshot below.",
8 "compiler_options": { 9 "compiler_options": {
9 "implemented_in": "chrome/browser/infobars/infobar_extension_api.h" 10 "implemented_in": "chrome/browser/infobars/infobar_extension_api.h"
10 }, 11 },
11 "types": [], 12 "types": [],
12 "functions": [ 13 "functions": [
13 { 14 {
14 "name": "show", 15 "name": "show",
15 "type": "function", 16 "type": "function",
16 "description": "Shows an infobar in the specified tab. The infobar will be closed automatically when the tab navigates. Use window.close() to close the infobar before then.", 17 "description": "Shows an infobar in the specified tab. The infobar will be closed automatically when the tab navigates. Use window.close() to close the infobar before then.",
17 "parameters": [ 18 "parameters": [
(...skipping 26 matching lines...) Expand all
44 { 45 {
45 "name": "window", "$ref": "windows.Window", "description": "Cont ains details about the window in which the infobar was created." 46 "name": "window", "$ref": "windows.Window", "description": "Cont ains details about the window in which the infobar was created."
46 } 47 }
47 ] 48 ]
48 } 49 }
49 ] 50 ]
50 } 51 }
51 ] 52 ]
52 } 53 }
53 ] 54 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698