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

Unified Diff: third_party/chrome/idl/experimental_infobars.json

Issue 12261015: Import chrome idl into third_party (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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
Index: third_party/chrome/idl/experimental_infobars.json
diff --git a/third_party/chrome/idl/experimental_infobars.json b/third_party/chrome/idl/experimental_infobars.json
new file mode 100644
index 0000000000000000000000000000000000000000..c8e161efc7b05f750f1b1a6a50b4c4945ac6aa44
--- /dev/null
+++ b/third_party/chrome/idl/experimental_infobars.json
@@ -0,0 +1,51 @@
+// 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.infobars",
+ "dependencies": [ "windows" ],
+ "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 | « third_party/chrome/idl/experimental_idltest.idl ('k') | third_party/chrome/idl/experimental_input_virtual_keyboard.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698