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

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

Issue 923463003: [Extensions] Remove the Infobar API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comments Created 5 years, 10 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
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chrome/common/extensions/api/extension_api_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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": "extension", 7 "namespace": "extension",
8 "description": "The <code>chrome.extension</code> API has utilities that can be used by any extension page. It includes support for exchanging messages betw een an extension and its content scripts or between extensions, as described in detail in <a href='messaging'>Message Passing</a>.", 8 "description": "The <code>chrome.extension</code> API has utilities that can be used by any extension page. It includes support for exchanging messages betw een an extension and its content scripts or between extensions, as described in detail in <a href='messaging'>Message Passing</a>.",
9 "compiler_options": { 9 "compiler_options": {
10 "implemented_in": "chrome/browser/extensions/api/module/module.h" 10 "implemented_in": "chrome/browser/extensions/api/module/module.h"
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 "type": "function", 72 "type": "function",
73 "description": "Returns an array of the JavaScript 'window' objects for each of the pages running inside the current extension.", 73 "description": "Returns an array of the JavaScript 'window' objects for each of the pages running inside the current extension.",
74 "parameters": [ 74 "parameters": [
75 { 75 {
76 "type": "object", 76 "type": "object",
77 "name": "fetchProperties", 77 "name": "fetchProperties",
78 "optional": true, 78 "optional": true,
79 "properties": { 79 "properties": {
80 "type": { 80 "type": {
81 "type": "string", 81 "type": "string",
82 "enum": ["tab", "infobar", "notification", "popup"], 82 "enum": ["tab", "notification", "popup"],
83 "optional": true, 83 "optional": true,
84 "description": "The type of view to get. If omitted, returns all views (including background pages and tabs). Valid values: 'tab', 'infobar', 'n otification', 'popup'." 84 "description": "The type of view to get. If omitted, returns all views (including background pages and tabs). Valid values: 'tab', 'notification ', 'popup'."
85 }, 85 },
86 "windowId": { 86 "windowId": {
87 "type": "integer", 87 "type": "integer",
88 "optional": true, 88 "optional": true,
89 "description": "The window to restrict the search to. If omitted , returns all views." 89 "description": "The window to restrict the search to. If omitted , returns all views."
90 } 90 }
91 } 91 }
92 } 92 }
93 ], 93 ],
94 "returns": { 94 "returns": {
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 "description": "Fired when a request is sent from another extension.", 206 "description": "Fired when a request is sent from another extension.",
207 "parameters": [ 207 "parameters": [
208 {"name": "request", "type": "any", "optional": true, "description": "T he request sent by the calling script."}, 208 {"name": "request", "type": "any", "optional": true, "description": "T he request sent by the calling script."},
209 {"name": "sender", "$ref": "runtime.MessageSender" }, 209 {"name": "sender", "$ref": "runtime.MessageSender" },
210 {"name": "sendResponse", "type": "function", "description": "Function to call when you have a response. The argument should be any JSON-ifiable object , or undefined if there is no response." } 210 {"name": "sendResponse", "type": "function", "description": "Function to call when you have a response. The argument should be any JSON-ifiable object , or undefined if there is no response." }
211 ] 211 ]
212 } 212 }
213 ] 213 ]
214 } 214 }
215 ] 215 ]
OLDNEW
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chrome/common/extensions/api/extension_api_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698