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

Unified Diff: chrome/common/extensions/api/extension_api.json

Issue 160276: mole expand/collapse API (Closed)
Patch Set: fixed a couple of crashers Created 11 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 | « chrome/common/common_resources.grd ('k') | chrome/common/extensions/docs/toolstrip.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/api/extension_api.json
diff --git a/chrome/common/extensions/api/extension_api.json b/chrome/common/extensions/api/extension_api.json
index 1561a41cbc30807620efd345a14bcd87a494a436..2740069726f7931360bf71595232fe87c934e160 100755
--- a/chrome/common/extensions/api/extension_api.json
+++ b/chrome/common/extensions/api/extension_api.json
@@ -65,7 +65,6 @@
* TODO(rafaelw): Validate event arguments in debug and unittests
* TODO(rafaelw): Support $ref for json_schema validation.
*/
-
[
/**
* chrome.self
@@ -706,5 +705,36 @@
]
}
]
+ },
+
+ /**
+ * chrome.toolstrip
+ */
+ {
+ namespace: "toolstrip",
+ types: [],
+ functions: [
+ {
+ name: "expand",
+ type: "function",
+ description: "",
+ parameters: [
+ {type: "integer", name: "height", minimum: 0},
+ {type: "string", name: "url", optional: true},
+ {type: "function", name: "callback", optional: true}
+ ]
+ },
+ {
+ name: "collapse",
+ type: "function",
+ description: "",
+ parameters: [
+ {type: "string", name: "url", optional: true},
+ {type: "function", name: "callback", optional: true}
+ ]
+ }
+ ],
+ events: [
+ ]
}
]
« no previous file with comments | « chrome/common/common_resources.grd ('k') | chrome/common/extensions/docs/toolstrip.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698