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

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

Issue 6546072: Clean up how we handle themes in the extensions system and management API.... Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 10 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
« no previous file with comments | « chrome/browser/ui/gtk/gtk_theme_provider.cc ('k') | chrome/common/notification_type.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 4247 matching lines...) Expand 10 before | Expand all | Expand 10 after
4258 "type": "string" 4258 "type": "string"
4259 }, 4259 },
4260 "enabled": { 4260 "enabled": {
4261 "description": "Whether it is currently enabled or disabled.", 4261 "description": "Whether it is currently enabled or disabled.",
4262 "type": "boolean" 4262 "type": "boolean"
4263 }, 4263 },
4264 "isApp": { 4264 "isApp": {
4265 "description": "True if this is an app.", 4265 "description": "True if this is an app.",
4266 "type": "boolean" 4266 "type": "boolean"
4267 }, 4267 },
4268 "isTheme": {
4269 "description": "True if this is a theme.",
4270 "type": "boolean"
4271 },
4268 "appLaunchUrl": { 4272 "appLaunchUrl": {
4269 "description": "The launch url (only present for apps).", 4273 "description": "The launch url (only present for apps).",
4270 "type": "string", 4274 "type": "string",
4271 "optional": true 4275 "optional": true
4272 }, 4276 },
4273 "optionsUrl": { 4277 "optionsUrl": {
4274 "description": "The url for the item's options page, if it has one." , 4278 "description": "The url for the item's options page, if it has one." ,
4275 "type": "string" 4279 "type": "string"
4276 }, 4280 },
4277 "icons": { 4281 "icons": {
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
4419 ] 4423 ]
4420 }, 4424 },
4421 { 4425 {
4422 "name": "onEnabled", 4426 "name": "onEnabled",
4423 "description": "Fired when an app or extension has been enabled.", 4427 "description": "Fired when an app or extension has been enabled.",
4424 "type": "function", 4428 "type": "function",
4425 "parameters": [{"name": "info", "$ref":"ExtensionInfo"}] 4429 "parameters": [{"name": "info", "$ref":"ExtensionInfo"}]
4426 }, 4430 },
4427 { 4431 {
4428 "name": "onDisabled", 4432 "name": "onDisabled",
4429 "description": "Fired when an app or extension has been disabled", 4433 "description": "Fired when an app or extension has been disabled.",
4430 "type": "function", 4434 "type": "function",
4431 "parameters": [{"name": "info", "$ref":"ExtensionInfo"}] 4435 "parameters": [{"name": "info", "$ref":"ExtensionInfo"}]
4432 } 4436 }
4433 ] 4437 ]
4434 }, 4438 },
4435 4439
4436 { 4440 {
4437 "namespace":"webstorePrivate", 4441 "namespace":"webstorePrivate",
4438 "nodoc": "true", 4442 "nodoc": "true",
4439 "functions": [ 4443 "functions": [
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
4553 "token": { "type": "string", "optional": true } 4557 "token": { "type": "string", "optional": true }
4554 } 4558 }
4555 } 4559 }
4556 ] 4560 ]
4557 } 4561 }
4558 ] 4562 ]
4559 } 4563 }
4560 ] 4564 ]
4561 } 4565 }
4562 ] 4566 ]
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/gtk_theme_provider.cc ('k') | chrome/common/notification_type.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698