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

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

Issue 160276: mole expand/collapse API (Closed)
Patch Set: mole API 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/renderer/renderer_resources.grd » ('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 a128c88ad01b1b4c3f4ceb23bc5d5f5be5f6b3cc..ea5b7deed55d2dfb9d08fc9ce169f581a8eb5394 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/renderer/renderer_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698