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

Unified Diff: chrome/common/extensions/api/infobars.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/extensions/api/extension_api_unittest.cc ('k') | chrome/common/extensions/api/schemas.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/api/infobars.json
diff --git a/chrome/common/extensions/api/infobars.json b/chrome/common/extensions/api/infobars.json
deleted file mode 100644
index 4842fe4b6a4f8feea947459db93899790e73215c..0000000000000000000000000000000000000000
--- a/chrome/common/extensions/api/infobars.json
+++ /dev/null
@@ -1,54 +0,0 @@
-// Copyright 2013 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": "infobars",
- "description": "Use the <code>chrome.infobars</code> API to add a horizontal panel just above a tab's contents. See the screenshot below.",
- "compiler_options": {
- "implemented_in": "chrome/browser/infobars/infobar_extension_api.h"
- },
- "types": [],
- "functions": [
- {
- "name": "show",
- "type": "function",
- "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.",
- "parameters": [
- {
- "name": "details",
- "type": "object",
- "properties": {
- "tabId": {
- "type": "integer",
- "description": "The tab id for the tab to display the infobar in."
- },
- "path": {
- "type": "string",
- "description": "The html file that contains the infobar."
- },
- "height": {
- "type": "integer",
- "description": "The height (in pixels) of the infobar to show. If omitted, the default infobar height will be used.",
- "optional": true,
- "minimum": 0,
- "maximum": 72
- }
- }
- },
- {
- "type": "function",
- "name": "callback",
- "optional": true,
- "parameters": [
- {
- "name": "window", "$ref": "windows.Window", "description": "Contains details about the window in which the infobar was created."
- }
- ]
- }
- ]
- }
- ]
- }
-]
« no previous file with comments | « chrome/common/extensions/api/extension_api_unittest.cc ('k') | chrome/common/extensions/api/schemas.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698