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

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

Issue 3462011: Manual merge of 60334 - Add a launchApp method to extension management API.... (Closed) Base URL: svn://svn.chromium.org/chrome/branches/517/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 3910 matching lines...) Expand 10 before | Expand all | Expand 10 after
3921 "type": "object", 3921 "type": "object",
3922 "properties": { 3922 "properties": {
3923 "id": { 3923 "id": {
3924 "description": "The extension's unique identifier.", 3924 "description": "The extension's unique identifier.",
3925 "type": "string" 3925 "type": "string"
3926 }, 3926 },
3927 "name": { 3927 "name": {
3928 "description": "The name of this extension or app.", 3928 "description": "The name of this extension or app.",
3929 "type": "string" 3929 "type": "string"
3930 }, 3930 },
3931 "version": {
3932 "description": "The <a href='manifest.html#version'>version</a> of t his extension or app.",
3933 "type": "string"
3934 },
3931 "enabled": { 3935 "enabled": {
3932 "description": "Whether it is currently enabled or disabled.", 3936 "description": "Whether it is currently enabled or disabled.",
3933 "type": "boolean" 3937 "type": "boolean"
3934 }, 3938 },
3935 "enabled": { 3939 "enabled": {
3936 "description": "Whether it is currently enabled or disabled.", 3940 "description": "Whether it is currently enabled or disabled.",
3937 "type": "boolean" 3941 "type": "boolean"
3938 }, 3942 },
3939 "isApp": { 3943 "isApp": {
3940 "description": "True if this is an app.", 3944 "description": "True if this is an app.",
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
4013 "type": "string", 4017 "type": "string",
4014 "description": "This should be the id from an item of $ref:Extension Info." 4018 "description": "This should be the id from an item of $ref:Extension Info."
4015 }, 4019 },
4016 { 4020 {
4017 "name": "callback", 4021 "name": "callback",
4018 "type": "function", 4022 "type": "function",
4019 "optional": "true", 4023 "optional": "true",
4020 "parameters": [] 4024 "parameters": []
4021 } 4025 }
4022 ] 4026 ]
4027 },
4028 {
4029 "name": "launchApp",
4030 "description": "Launches an application.",
4031 "parameters": [
4032 {
4033 "name": "id",
4034 "type": "string",
4035 "description": "The extension id of the application."
4036 },
4037 {
4038 "name": "callback",
4039 "type": "function",
4040 "optional": "true",
4041 "parameters": []
4042 }
4043 ]
4023 } 4044 }
4024 ], 4045 ],
4025 "events": [ 4046 "events": [
4026 { 4047 {
4027 "name": "onInstalled", 4048 "name": "onInstalled",
4028 "description": "Fired when an app or extension has been installed.", 4049 "description": "Fired when an app or extension has been installed.",
4029 "type": "function", 4050 "type": "function",
4030 "parameters": [{"name": "info", "$ref":"ExtensionInfo"}] 4051 "parameters": [{"name": "info", "$ref":"ExtensionInfo"}]
4031 }, 4052 },
4032 { 4053 {
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
4103 "name": "setStoreLogin", 4124 "name": "setStoreLogin",
4104 "description": "Set a preference value with the store login.", 4125 "description": "Set a preference value with the store login.",
4105 "parameters": [ 4126 "parameters": [
4106 { "name": "login", "type": "string" }, 4127 { "name": "login", "type": "string" },
4107 { "name": "callback", "type": "function", "optional": "true" } 4128 { "name": "callback", "type": "function", "optional": "true" }
4108 ] 4129 ]
4109 } 4130 }
4110 ] 4131 ]
4111 } 4132 }
4112 ] 4133 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698