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

Unified Diff: chrome/common/extensions/api/devtools/experimental_console.json

Issue 2179673002: Clean up DevTools API docs following removal of old APIs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/common/extensions/api/devtools/inspected_window.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/api/devtools/experimental_console.json
diff --git a/chrome/common/extensions/api/devtools/experimental_console.json b/chrome/common/extensions/api/devtools/experimental_console.json
deleted file mode 100644
index 42fe4c7a2e82061f861498d7fcd24aded6f23eb9..0000000000000000000000000000000000000000
--- a/chrome/common/extensions/api/devtools/experimental_console.json
+++ /dev/null
@@ -1,100 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-[
- {
- "namespace": "experimental.devtools.console",
- "description": "Use the <code>chrome.experimental.devtools.console</code> API to retrieve messages from the inspected page console and post messages there.",
- "nocompile": true,
- "functions": [
- {
- "name": "addMessage",
- "type": "function",
- "description": "Adds a message to the console.",
- "parameters": [
- { "name": "severity", "$ref": "Severity", "description": "The severity of the message." },
- { "name": "text", "type": "string", "description": "The text of the message." }
- ]
- },
- {
- "name": "getMessages",
- "type": "function",
- "description": "Retrieves console messages.",
- "parameters": [
- {
- "name": "callback",
- "type": "function",
- "description": "A function that receives console messages when the request completes.",
- "parameters": [
- {
- "name": "messages",
- "type": "array",
- "items": { "$ref": "ConsoleMessage" },
- "description": "Console messages."
- }
- ]
- }
- ]
- }
- ],
- "types": [
- {
- "id": "ConsoleMessage",
- "type": "object",
- "description": "A console message.",
- "properties": {
- "severity": {
- "$ref": "Severity",
- "description": "Message severity."
- },
- "text": {
- "type": "string",
- "description": "The text of the console message, as represented by the first argument to the console.log() or a similar method (no parameter substitution performed)."
- },
- "url": {
- "type": "string",
- "optional": true,
- "description": "The URL of the script that originated the message, if available."
- },
- "line": {
- "type": "number",
- "optional": true,
- "description": "The number of the line where the message originated, if available."
- }
- }
- },
- {
- "id": "Severity",
- "type": "object",
- "properties": {
- "Tip": {
- "type": "string"
- },
- "Debug": {
- "type": "string"
- },
- "Log": {
- "type": "string"
- },
- "Warning": {
- "type": "string"
- },
- "Error": {
- "type": "string"
- }
- }
- }
- ],
- "events": [
- {
- "name": "onMessageAdded",
- "type": "function",
- "description": "Fired when a new message is added to the console.",
- "parameters": [
- { "name": "message", "$ref": "ConsoleMessage" }
- ]
- }
- ]
- }
-]
« no previous file with comments | « no previous file | chrome/common/extensions/api/devtools/inspected_window.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698