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

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

Issue 6987017: Made all enums of preferences api unix_hacker_style (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge with ToT Created 9 years, 7 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 5335 matching lines...) Expand 10 before | Expand all | Expand 10 after
5346 { 5346 {
5347 "name": "details", 5347 "name": "details",
5348 "type": "object", 5348 "type": "object",
5349 "description": "Details of the currently effective preferenc e value.", 5349 "description": "Details of the currently effective preferenc e value.",
5350 "properties": { 5350 "properties": {
5351 "value": { 5351 "value": {
5352 "description": "The value of the preference.", 5352 "description": "The value of the preference.",
5353 "type": "any" 5353 "type": "any"
5354 }, 5354 },
5355 "levelOfControl": { 5355 "levelOfControl": {
5356 "description": "One of<br><var>NotControllable</var>: ca nnot be controlled by any extension<br><var>ControlledByOtherExtensions</var>: c ontrolled by extensions with higher precedence<br><var>ControllableByThisExtensi on</var>: can be controlled by this extension<br><var>ControlledByThisExtension< /var>: controlled by this extension", 5356 "description": "One of<br><var>not_controllable</var>: c annot be controlled by any extension<br><var>controlled_by_other_extensions</var >: controlled by extensions with higher precedence<br><var>controllable_by_this_ extension</var>: can be controlled by this extension<br><var>controlled_by_this_ extension</var>: controlled by this extension",
5357 "type": "string", 5357 "type": "string",
5358 "enum": ["NotControllable", "ControlledByOtherExtensions ", "ControllableByThisExtension", "ControlledByThisExtension"] 5358 "enum": ["not_controllable", "controlled_by_other_extens ions", "controllable_by_this_extension", "controlled_by_this_extension"]
5359 }, 5359 },
5360 "incognitoSpecific": { 5360 "incognitoSpecific": {
5361 "description": "Whether the effective value is specific to the incognito session.<br>This property will <em>only</em> be present if the <var>incognito</var> property in the <var>details</var> parameter of <code>get() </code> was true.", 5361 "description": "Whether the effective value is specific to the incognito session.<br>This property will <em>only</em> be present if the <var>incognito</var> property in the <var>details</var> parameter of <code>get() </code> was true.",
5362 "type": "boolean", 5362 "type": "boolean",
5363 "optional": true 5363 "optional": true
5364 } 5364 }
5365 } 5365 }
5366 } 5366 }
5367 ] 5367 ]
5368 } 5368 }
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
5434 "parameters": [ 5434 "parameters": [
5435 { 5435 {
5436 "type": "object", 5436 "type": "object",
5437 "name": "details", 5437 "name": "details",
5438 "properties": { 5438 "properties": {
5439 "value": { 5439 "value": {
5440 "description": "The value of the preference.", 5440 "description": "The value of the preference.",
5441 "type": "any" 5441 "type": "any"
5442 }, 5442 },
5443 "levelOfControl": { 5443 "levelOfControl": {
5444 "description": "One of<br><var>NotControllable</var>: cannot be controlled by any extension<br><var>ControlledByOtherExtensions</var>: contr olled by extensions with higher precedence<br><var>ControllableByThisExtension</ var>: can be controlled by this extension<br><var>ControlledByThisExtension</var >: controlled by this extension", 5444 "description": "One of<br><var>not_controllable</var>: canno t be controlled by any extension<br><var>controlled_by_other_extensions</var>: c ontrolled by extensions with higher precedence<br><var>controllable_by_this_exte nsion</var>: can be controlled by this extension<br><var>controlled_by_this_exte nsion</var>: controlled by this extension",
5445 "type": "string", 5445 "type": "string",
5446 "enum": ["NotControllable", "ControlledByOtherExtensions", " ControllableByThisExtension", "ControlledByThisExtension"] 5446 "enum": ["not_controllable", "controlled_by_other_extensions ", "controllable_by_this_extension", "controlled_by_this_extension"]
5447 }, 5447 },
5448 "incognitoSpecific": { 5448 "incognitoSpecific": {
5449 "description": "Whether the value that has changed is specif ic to the incognito session.<br>This property will <em>only</em> be present if t he user has enabled the extension in incognito mode.", 5449 "description": "Whether the value that has changed is specif ic to the incognito session.<br>This property will <em>only</em> be present if t he user has enabled the extension in incognito mode.",
5450 "type": "boolean", 5450 "type": "boolean",
5451 "optional": true 5451 "optional": true
5452 } 5452 }
5453 } 5453 }
5454 } 5454 }
5455 ] 5455 ]
5456 } 5456 }
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
5595 { 5595 {
5596 "type": "integer", 5596 "type": "integer",
5597 "name": "tabId", 5597 "name": "tabId",
5598 "description": "The id of the tab that was detached." 5598 "description": "The id of the tab that was detached."
5599 } 5599 }
5600 ] 5600 ]
5601 } 5601 }
5602 ] 5602 ]
5603 } 5603 }
5604 ] 5604 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698