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

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

Issue 3416022: Revert 60357 - Merge 60334 - Add a launchApp method to extension management A... (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 },
3935 "enabled": { 3931 "enabled": {
3936 "description": "Whether it is currently enabled or disabled.", 3932 "description": "Whether it is currently enabled or disabled.",
3937 "type": "boolean" 3933 "type": "boolean"
3938 }, 3934 },
3939 "enabled": { 3935 "enabled": {
3940 "description": "Whether it is currently enabled or disabled.", 3936 "description": "Whether it is currently enabled or disabled.",
3941 "type": "boolean" 3937 "type": "boolean"
3942 }, 3938 },
3943 "isApp": { 3939 "isApp": {
3944 "description": "True if this is an app.", 3940 "description": "True if this is an app.",
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
4017 "type": "string", 4013 "type": "string",
4018 "description": "This should be the id from an item of $ref:Extension Info." 4014 "description": "This should be the id from an item of $ref:Extension Info."
4019 }, 4015 },
4020 { 4016 {
4021 "name": "callback", 4017 "name": "callback",
4022 "type": "function", 4018 "type": "function",
4023 "optional": "true", 4019 "optional": "true",
4024 "parameters": [] 4020 "parameters": []
4025 } 4021 }
4026 ] 4022 ]
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 ]
4044 } 4023 }
4045 ], 4024 ],
4046 "events": [ 4025 "events": [
4047 { 4026 {
4048 "name": "onInstalled", 4027 "name": "onInstalled",
4049 "description": "Fired when an app or extension has been installed.", 4028 "description": "Fired when an app or extension has been installed.",
4050 "type": "function", 4029 "type": "function",
4051 "parameters": [{"name": "info", "$ref":"ExtensionInfo"}] 4030 "parameters": [{"name": "info", "$ref":"ExtensionInfo"}]
4052 }, 4031 },
4053 { 4032 {
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
4124 "name": "setStoreLogin", 4103 "name": "setStoreLogin",
4125 "description": "Set a preference value with the store login.", 4104 "description": "Set a preference value with the store login.",
4126 "parameters": [ 4105 "parameters": [
4127 { "name": "login", "type": "string" }, 4106 { "name": "login", "type": "string" },
4128 { "name": "callback", "type": "function", "optional": "true" } 4107 { "name": "callback", "type": "function", "optional": "true" }
4129 ] 4108 ]
4130 } 4109 }
4131 ] 4110 ]
4132 } 4111 }
4133 ] 4112 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698