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

Side by Side Diff: chrome/common/extensions/api/devtools/experimental_console.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.devtools.console", 7 "namespace": "experimental.devtools.console",
8 "description": "Use the <code>chrome.experimental.devtools.console</code> AP I to retrieve messages from the inspected page console and post messages there." ,
8 "nocompile": true, 9 "nocompile": true,
9 "functions": [ 10 "functions": [
10 { 11 {
11 "name": "addMessage", 12 "name": "addMessage",
12 "type": "function", 13 "type": "function",
13 "description": "Adds a message to the console.", 14 "description": "Adds a message to the console.",
14 "parameters": [ 15 "parameters": [
15 { "name": "severity", "$ref": "Severity", "description": "The severity of the message." }, 16 { "name": "severity", "$ref": "Severity", "description": "The severity of the message." },
16 { "name": "text", "type": "string", "description": "The text of the me ssage." } 17 { "name": "text", "type": "string", "description": "The text of the me ssage." }
17 ] 18 ]
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 "name": "onMessageAdded", 91 "name": "onMessageAdded",
91 "type": "function", 92 "type": "function",
92 "description": "Fired when a new message is added to the console.", 93 "description": "Fired when a new message is added to the console.",
93 "parameters": [ 94 "parameters": [
94 { "name": "message", "$ref": "ConsoleMessage" } 95 { "name": "message", "$ref": "ConsoleMessage" }
95 ] 96 ]
96 } 97 }
97 ] 98 ]
98 } 99 }
99 ] 100 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698