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

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

Issue 7031063: Extension API: Rename contentSettings.misc to .global and rename preferences under it. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix 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 5455 matching lines...) Expand 10 before | Expand all | Expand 10 after
5466 } 5466 }
5467 } 5467 }
5468 } 5468 }
5469 ] 5469 ]
5470 } 5470 }
5471 ] 5471 ]
5472 } 5472 }
5473 ] 5473 ]
5474 }, 5474 },
5475 { 5475 {
5476 "namespace": "experimental.contentSettings.misc", 5476 "namespace": "experimental.contentSettings.global",
5477 "properties": { 5477 "properties": {
5478 "blockThirdPartyCookies": { 5478 "thirdPartyCookiesAllowed": {
5479 "$ref": "Preference", 5479 "$ref": "Preference",
5480 "value": ["blockThirdPartyCookies", {"type": "boolean"}], 5480 "value": ["thirdPartyCookiesAllowed", {"type": "boolean"}],
5481 "description": "Whether third party cookies should be blocked. The value of this preference is of type boolean." 5481 "description": "Whether third party cookies should be allowed. The value of this preference is of type boolean, and the default value is true."
5482 }, 5482 },
5483 "enableReferrers": { 5483 "referrersEnabled": {
5484 "$ref": "Preference", 5484 "$ref": "Preference",
5485 "value": ["enableReferrers", {"type":"boolean"}], 5485 "value": ["referrersEnabled", {"type":"boolean"}],
5486 "description": "Whether referrers should be enabled. The value of this p reference is of type boolean." 5486 "description": "Whether referrers should be enabled. The value of this p reference is of type boolean, and the default value is true."
5487 }, 5487 },
5488 "enableHyperlinkAuditing": { 5488 "hyperlinkAuditingEnabled": {
5489 "$ref": "Preference", 5489 "$ref": "Preference",
5490 "value": ["enableHyperlinkAuditing", {"type":"boolean"}], 5490 "value": ["hyperlinkAuditingEnabled", {"type":"boolean"}],
5491 "description": "Whether to enable hyperlink auditing (\"<a ping>\" ). The value of this preference is of type boolean." 5491 "description": "Whether to enable hyperlink auditing (\"<a ping>\" ). The value of this preference is of type boolean, and the default value is tru e."
5492 } 5492 }
5493 } 5493 }
5494 }, 5494 },
5495 { 5495 {
5496 "namespace": "experimental.debugger", 5496 "namespace": "experimental.debugger",
5497 "functions": [ 5497 "functions": [
5498 { 5498 {
5499 "name": "attach", 5499 "name": "attach",
5500 "type": "function", 5500 "type": "function",
5501 "description": "Attaches debugger to the tab with given id.", 5501 "description": "Attaches debugger to the tab with given id.",
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
5609 { 5609 {
5610 "type": "integer", 5610 "type": "integer",
5611 "name": "tabId", 5611 "name": "tabId",
5612 "description": "The id of the tab that was detached." 5612 "description": "The id of the tab that was detached."
5613 } 5613 }
5614 ] 5614 ]
5615 } 5615 }
5616 ] 5616 ]
5617 } 5617 }
5618 ] 5618 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698