summaryrefslogtreecommitdiffstats
path: root/chrome/common/extensions/api
diff options
context:
space:
mode:
authorerikkay@chromium.org <erikkay@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-04 16:44:43 +0000
committererikkay@chromium.org <erikkay@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-04 16:44:43 +0000
commit9c45b718e0b24664945c98d7a6315e4666fe7c22 (patch)
tree8697f8b5890b4a0f6121a76adf17a00045943068 /chrome/common/extensions/api
parent79ae821680fd8d84cc567063ead475072b799bc9 (diff)
downloadchromium_src-9c45b718e0b24664945c98d7a6315e4666fe7c22.zip
chromium_src-9c45b718e0b24664945c98d7a6315e4666fe7c22.tar.gz
chromium_src-9c45b718e0b24664945c98d7a6315e4666fe7c22.tar.bz2
mole API - take 2
originally reviewed / committed as http://codereview.chromium.org/160276 TBR=mpcomplete,phadjan.jr Review URL: http://codereview.chromium.org/159854 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22382 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/extensions/api')
-rwxr-xr-xchrome/common/extensions/api/extension_api.json32
1 files changed, 31 insertions, 1 deletions
diff --git a/chrome/common/extensions/api/extension_api.json b/chrome/common/extensions/api/extension_api.json
index 1561a41..2740069 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: [
+ ]
}
]