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

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

Issue 7298005: Expose privacy-relevant preferences via Chrome's extension API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Alphabetizing. Created 9 years, 5 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 5980 matching lines...) Expand 10 before | Expand all | Expand 10 after
5991 }, 5991 },
5992 "referrersEnabled": { 5992 "referrersEnabled": {
5993 "$ref": "ChromeSetting", 5993 "$ref": "ChromeSetting",
5994 "value": ["referrersEnabled", {"type":"boolean"}], 5994 "value": ["referrersEnabled", {"type":"boolean"}],
5995 "description": "Whether referrers should be enabled. The value of th is preference is of type boolean, and the default value is true." 5995 "description": "Whether referrers should be enabled. The value of th is preference is of type boolean, and the default value is true."
5996 }, 5996 },
5997 "hyperlinkAuditingEnabled": { 5997 "hyperlinkAuditingEnabled": {
5998 "$ref": "ChromeSetting", 5998 "$ref": "ChromeSetting",
5999 "value": ["hyperlinkAuditingEnabled", {"type":"boolean"}], 5999 "value": ["hyperlinkAuditingEnabled", {"type":"boolean"}],
6000 "description": "Whether to enable hyperlink auditing (\"<a ping&g t;\"). The value of this preference is of type boolean, and the default value is true." 6000 "description": "Whether to enable hyperlink auditing (\"<a ping&g t;\"). The value of this preference is of type boolean, and the default value is true."
6001 },
6002
6003 "alternateErrorPagesEnabled": {
6004 "$ref": "ChromeSetting",
6005 "value": ["alternateErrorPagesEnabled", {"type":"boolean"}],
6006 "description": "This preference's value is a boolean, defaulting to <code>true</code>."
6007 },
6008 "autofillEnabled": {
6009 "$ref": "ChromeSetting",
6010 "value": ["autofillEnabled", {"type":"boolean"}],
6011 "description": "This preference's value is a boolean, defaulting to <code>true</code>."
6012 },
6013 "clearSiteDataOnExit": {
6014 "$ref": "ChromeSetting",
6015 "value": ["clearSiteDataOnExit", {"type":"boolean"}],
6016 "description": "This preference's value is a boolean, defaulting to <code>false</code>."
6017 },
6018 "instantEnabled": {
6019 "$ref": "ChromeSetting",
6020 "value": ["instantEnabled", {"type":"boolean"}],
6021 "description": "This preference's value is a boolean, defaulting to <code>true</code>."
6022 },
6023 "metricsReportingEnabled": {
6024 "$ref": "ChromeSetting",
6025 "value": ["metricsReportingEnabled", {"type":"boolean"}],
6026 "description": "This preference's value is a boolean, defaulting to <code>true</code>."
6027 },
6028 "networkPredictionEnabled": {
6029 "$ref": "ChromeSetting",
6030 "value": ["networkPredictionEnabled", {"type":"boolean"}],
6031 "description": "This preference's value is a boolean, defaulting to <code>true</code>."
6032 },
6033 "searchSuggestEnabled": {
6034 "$ref": "ChromeSetting",
6035 "value": ["searchSuggestEnabled", {"type":"boolean"}],
6036 "description": "If enabled, Chrome sends the text you type into the Omnibox to your default search engine, which provides predictions of websites an d searches that are likely completions of what you've typed so far. This prefere nce's value is a boolean, defaulting to <code>true</code>."
6037 },
6038 "safeBrowsingEnabled": {
6039 "$ref": "ChromeSetting",
6040 "value": ["safeBrowsingEnabled", {"type":"boolean"}],
6041 "description": "This preference's value is a boolean, defaulting to <code>true</code>."
6042 },
6043 "translateEnabled": {
6044 "$ref": "ChromeSetting",
6045 "value": ["translateEnabled", {"type":"boolean"}],
6046 "description": "This preference's value is a boolean, defaulting to <code>true</code>."
6001 } 6047 }
6002 } 6048 }
6003 }, 6049 },
6004 "cookies": { 6050 "cookies": {
6005 "$ref": "ContentSetting", 6051 "$ref": "ContentSetting",
6006 "description": "Whether to allow cookies and other local data to be set by websites. One of<br><var>allow</var>: Accept cookies,<br><var>block</var>: Bl ock cookies,<br><var>session_only</var>: Accept cookies only for the current ses sion. Default is <var>allow</var>.<br>The primary URL is the URL representing th e cookie origin. The secondary URL is the URL of the top-level frame.", 6052 "description": "Whether to allow cookies and other local data to be set by websites. One of<br><var>allow</var>: Accept cookies,<br><var>block</var>: Bl ock cookies,<br><var>session_only</var>: Accept cookies only for the current ses sion. Default is <var>allow</var>.<br>The primary URL is the URL representing th e cookie origin. The secondary URL is the URL of the top-level frame.",
6007 "value": [ 6053 "value": [
6008 "cookies", 6054 "cookies",
6009 {"type":"string", "enum": ["allow", "block", "session_only"]} 6055 {"type":"string", "enum": ["allow", "block", "session_only"]}
6010 ] 6056 ]
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
6273 "type": "function", 6319 "type": "function",
6274 "name": "callback", 6320 "name": "callback",
6275 "optional": true, 6321 "optional": true,
6276 "description": "A callback when the function is complete. Any errors will be reported in <a href='extension.html#property-lastError'>chrome.extensio n.lastError</a>." 6322 "description": "A callback when the function is complete. Any errors will be reported in <a href='extension.html#property-lastError'>chrome.extensio n.lastError</a>."
6277 } 6323 }
6278 ] 6324 ]
6279 } 6325 }
6280 ] 6326 ]
6281 } 6327 }
6282 ] 6328 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698