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

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: Rebasing. Created 9 years, 4 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/chrome_tests.gypi ('k') | chrome/common/extensions/docs/experimental.html » ('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 7693 matching lines...) Expand 10 before | Expand all | Expand 10 after
7704 } 7704 }
7705 } 7705 }
7706 ] 7706 ]
7707 } 7707 }
7708 ] 7708 ]
7709 } 7709 }
7710 ] 7710 ]
7711 } 7711 }
7712 ], 7712 ],
7713 "properties": { 7713 "properties": {
7714 "global": {
7715 "type": "object",
7716 "value": {},
7717 "properties": {
7718 "thirdPartyCookiesAllowed": {
7719 "$ref": "ChromeSetting",
7720 "value": ["thirdPartyCookiesAllowed", {"type": "boolean"}],
7721 "description": "Whether third party cookies should be allowed. The v alue of this preference is of type boolean, and the default value is true."
7722 },
7723 "referrersEnabled": {
7724 "$ref": "ChromeSetting",
7725 "value": ["referrersEnabled", {"type":"boolean"}],
7726 "description": "Whether referrers should be enabled. The value of th is preference is of type boolean, and the default value is true."
7727 },
7728 "hyperlinkAuditingEnabled": {
7729 "$ref": "ChromeSetting",
7730 "value": ["hyperlinkAuditingEnabled", {"type":"boolean"}],
7731 "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."
7732 }
7733 }
7734 },
7735 "cookies": { 7714 "cookies": {
7736 "$ref": "ContentSetting", 7715 "$ref": "ContentSetting",
7737 "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.", 7716 "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.",
7738 "value": [ 7717 "value": [
7739 "cookies", 7718 "cookies",
7740 {"type":"string", "enum": ["allow", "block", "session_only"]} 7719 {"type":"string", "enum": ["allow", "block", "session_only"]}
7741 ] 7720 ]
7742 }, 7721 },
7743 "images": { 7722 "images": {
7744 "$ref": "ContentSetting", 7723 "$ref": "ContentSetting",
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
7776 "$ref": "ContentSetting", 7755 "$ref": "ContentSetting",
7777 "description": "Whether to allow sites to show desktop notifications. On e of<br><var>allow</var>: Allow sites to show desktop notifications,<br><var>blo ck</var>: Don't allow sites to show desktop notifications,<br><var>ask</var>: As k when a site wants to show desktop notifications. Default is <var>ask</var>.<br >The primary URL is the main-frame URL. The secondary URL is not used.", 7756 "description": "Whether to allow sites to show desktop notifications. On e of<br><var>allow</var>: Allow sites to show desktop notifications,<br><var>blo ck</var>: Don't allow sites to show desktop notifications,<br><var>ask</var>: As k when a site wants to show desktop notifications. Default is <var>ask</var>.<br >The primary URL is the main-frame URL. The secondary URL is not used.",
7778 "value": [ 7757 "value": [
7779 "notifications", 7758 "notifications",
7780 {"type":"string", "enum": ["allow", "block", "ask"]} 7759 {"type":"string", "enum": ["allow", "block", "ask"]}
7781 ] 7760 ]
7782 } 7761 }
7783 } 7762 }
7784 }, 7763 },
7785 { 7764 {
7765 "namespace": "experimental.privacy",
7766 "properties": {
7767 "network": {
7768 "type": "object",
7769 "value": {},
7770 "description": "Settings that influence Chrome's handling of network con nections in general.",
7771 "properties": {
7772 "networkPredictionEnabled": {
7773 "$ref": "ChromeSetting",
7774 "value": ["networkPredictionEnabled", {"type":"boolean"}],
7775 "description": "If enabled, Chrome attempts to speed up your web bro wsing experience by pre-resolving DNS entries, prerendering sites (<code>&lt;lin k rel='prefetch' ...&gt;</code>), and preemptively opening TCP and SSL connectio ns to servers. This preference's value is a boolean, defaulting to <code>true</ code>."
7776 }
7777 }
7778 },
7779 "services": {
7780 "type": "object",
7781 "value": {},
7782 "description": "Settings that enable or disable features that require th ird-party network services provided by Google and your default search provider." ,
7783 "properties": {
7784 "alternateErrorPagesEnabled": {
7785 "$ref": "ChromeSetting",
7786 "value": ["alternateErrorPagesEnabled", {"type":"boolean"}],
7787 "description": "If enabled, Chrome uses a web service to help resolv e navigation errors. This preference's value is a boolean, defaulting to <code>t rue</code>."
7788 },
7789 "autofillEnabled": {
7790 "$ref": "ChromeSetting",
7791 "value": ["autofillEnabled", {"type":"boolean"}],
7792 "description": "If enabled, Chrome offers to automatically fill in f orms. This preference's value is a boolean, defaulting to <code>true</code>."
7793 },
7794 "instantEnabled": {
7795 "$ref": "ChromeSetting",
7796 "value": ["instantEnabled", {"type":"boolean"}],
7797 "description": "If enabled, Chrome automatically performs and displa ys search requests for text you type into the Omnibox as you type it. This prefe rence's value is a boolean, defaulting to <code>true</code>."
7798 },
7799 "metricsReportingEnabled": {
7800 "$ref": "ChromeSetting",
7801 "value": ["metricsReportingEnabled", {"type":"boolean"}],
7802 "description": "If enabled, Chrome automatically sends usage statist ics and crash reports to Google. This preference's value is a boolean, defaultin g to <code>false</code>."
7803 },
7804 "safeBrowsingEnabled": {
7805 "$ref": "ChromeSetting",
7806 "value": ["safeBrowsingEnabled", {"type":"boolean"}],
7807 "description": "If enabled, Chrome does its best to protect you from phishing and malware. This preference's value is a boolean, defaulting to <code >true</code>."
7808 },
7809 "searchSuggestEnabled": {
7810 "$ref": "ChromeSetting",
7811 "value": ["searchSuggestEnabled", {"type":"boolean"}],
7812 "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>."
7813 },
7814 "translationServiceEnabled": {
7815 "$ref": "ChromeSetting",
7816 "value": ["translationServiceEnabled", {"type":"boolean"}],
7817 "description": "If enabled, Chrome offers to translate pages that ar en't in a language you read. This preference's value is a boolean, defaulting to <code>true</code>."
7818 }
7819 }
7820 },
7821 "websites": {
7822 "type": "object",
7823 "value": {},
7824 "description": "Settings that determine what information Chrome sends wh en requesting websites.",
7825 "properties": {
7826 "thirdPartyCookiesAllowed": {
7827 "$ref": "ChromeSetting",
7828 "value": ["thirdPartyCookiesAllowed", {"type": "boolean"}],
7829 "description": "If disabled, Chrome blocks third-party sites from se tting cookies. The value of this preference is of type boolean, and the default value is <code>true</code>."
7830 },
7831 "hyperlinkAuditingEnabled": {
7832 "$ref": "ChromeSetting",
7833 "value": ["hyperlinkAuditingEnabled", {"type":"boolean"}],
7834 "description": "If enabled, Chrome sends auditing pings when request ed by a website (<code>&lt;a ping&gt;</code>). The value of this preference is o f type boolean, and the default value is <code>true</code>."
7835 },
7836 "referrersEnabled": {
7837 "$ref": "ChromeSetting",
7838 "value": ["referrersEnabled", {"type":"boolean"}],
7839 "description": "If enabled, Chrome sends <code>referer</code> header s with your requests. Yes, the name of this preference doesn't match the misspel led header. No, we're not going to change it. The value of this preference is of type boolean, and the default value is <code>true</code>."
7840 }
7841 }
7842 }
7843 }
7844 },
7845 {
7786 "namespace": "experimental.debugger", 7846 "namespace": "experimental.debugger",
7787 "functions": [ 7847 "functions": [
7788 { 7848 {
7789 "name": "attach", 7849 "name": "attach",
7790 "type": "function", 7850 "type": "function",
7791 "description": "Attaches debugger to the tab with given id.", 7851 "description": "Attaches debugger to the tab with given id.",
7792 "parameters": [ 7852 "parameters": [
7793 { 7853 {
7794 "type": "integer", 7854 "type": "integer",
7795 "name": "tabId", 7855 "name": "tabId",
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
8085 "description": "A string result code. The value is non-empty on success only in tests.", 8145 "description": "A string result code. The value is non-empty on success only in tests.",
8086 "optional": "true" 8146 "optional": "true"
8087 } 8147 }
8088 ] 8148 ]
8089 } 8149 }
8090 ] 8150 ]
8091 } 8151 }
8092 ] 8152 ]
8093 } 8153 }
8094 ] 8154 ]
OLDNEW
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chrome/common/extensions/docs/experimental.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698