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

Side by Side Diff: chrome/common/extensions/api/extension_api.json

Issue 3381019: Add a launchApp method to extension management API.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 3 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 [ 1 [
2 { 2 {
3 "namespace": "extension", 3 "namespace": "extension",
4 "unprivileged": true, 4 "unprivileged": true,
5 "types": [ 5 "types": [
6 { 6 {
7 "id": "MessageSender", 7 "id": "MessageSender",
8 "type": "object", 8 "type": "object",
9 "description": "An object containing information about the script contex t that sent a message or request.", 9 "description": "An object containing information about the script contex t that sent a message or request.",
10 "properties": { 10 "properties": {
(...skipping 3921 matching lines...) Expand 10 before | Expand all | Expand 10 after
3932 "type": "object", 3932 "type": "object",
3933 "properties": { 3933 "properties": {
3934 "id": { 3934 "id": {
3935 "description": "The extension's unique identifier.", 3935 "description": "The extension's unique identifier.",
3936 "type": "string" 3936 "type": "string"
3937 }, 3937 },
3938 "name": { 3938 "name": {
3939 "description": "The name of this extension or app.", 3939 "description": "The name of this extension or app.",
3940 "type": "string" 3940 "type": "string"
3941 }, 3941 },
3942 "version": {
3943 "description": "The <a href='manifest.html#version'>version</a> of t his extension or app.",
3944 "type": "string"
3945 },
3942 "enabled": { 3946 "enabled": {
3943 "description": "Whether it is currently enabled or disabled.", 3947 "description": "Whether it is currently enabled or disabled.",
3944 "type": "boolean" 3948 "type": "boolean"
3945 }, 3949 },
3946 "enabled": { 3950 "enabled": {
3947 "description": "Whether it is currently enabled or disabled.", 3951 "description": "Whether it is currently enabled or disabled.",
3948 "type": "boolean" 3952 "type": "boolean"
3949 }, 3953 },
3950 "isApp": { 3954 "isApp": {
3951 "description": "True if this is an app.", 3955 "description": "True if this is an app.",
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
4024 "type": "string", 4028 "type": "string",
4025 "description": "This should be the id from an item of $ref:Extension Info." 4029 "description": "This should be the id from an item of $ref:Extension Info."
4026 }, 4030 },
4027 { 4031 {
4028 "name": "callback", 4032 "name": "callback",
4029 "type": "function", 4033 "type": "function",
4030 "optional": "true", 4034 "optional": "true",
4031 "parameters": [] 4035 "parameters": []
4032 } 4036 }
4033 ] 4037 ]
4038 },
4039 {
4040 "name": "launchApp",
4041 "description": "Launches an application.",
4042 "parameters": [
4043 {
4044 "name": "id",
4045 "type": "string",
4046 "description": "The extension id of the application."
4047 },
4048 {
4049 "name": "callback",
4050 "type": "function",
4051 "optional": "true",
4052 "parameters": []
4053 }
4054 ]
4034 } 4055 }
4035 ], 4056 ],
4036 "events": [ 4057 "events": [
4037 { 4058 {
4038 "name": "onInstalled", 4059 "name": "onInstalled",
4039 "description": "Fired when an app or extension has been installed.", 4060 "description": "Fired when an app or extension has been installed.",
4040 "type": "function", 4061 "type": "function",
4041 "parameters": [{"name": "info", "$ref":"ExtensionInfo"}] 4062 "parameters": [{"name": "info", "$ref":"ExtensionInfo"}]
4042 }, 4063 },
4043 { 4064 {
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
4114 "name": "setStoreLogin", 4135 "name": "setStoreLogin",
4115 "description": "Set a preference value with the store login.", 4136 "description": "Set a preference value with the store login.",
4116 "parameters": [ 4137 "parameters": [
4117 { "name": "login", "type": "string" }, 4138 { "name": "login", "type": "string" },
4118 { "name": "callback", "type": "function", "optional": "true" } 4139 { "name": "callback", "type": "function", "optional": "true" }
4119 ] 4140 ]
4120 } 4141 }
4121 ] 4142 ]
4122 } 4143 }
4123 ] 4144 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698