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

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

Issue 7831075: Delegating the "are images allowed" decision to renderer. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Doc fix. Created 9 years, 1 month 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/common/content_settings.cc ('k') | chrome/common/extensions/docs/contentSettings.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 8362 matching lines...) Expand 10 before | Expand all | Expand 10 after
8373 "cookies": { 8373 "cookies": {
8374 "$ref": "ContentSetting", 8374 "$ref": "ContentSetting",
8375 "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. <br>Default is <var>allow</var>.<br>The primary URL is the URL representin g the cookie origin. The secondary URL is the URL of the top-level frame.", 8375 "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. <br>Default is <var>allow</var>.<br>The primary URL is the URL representin g the cookie origin. The secondary URL is the URL of the top-level frame.",
8376 "value": [ 8376 "value": [
8377 "cookies", 8377 "cookies",
8378 {"type":"string", "enum": ["allow", "block", "session_only"]} 8378 {"type":"string", "enum": ["allow", "block", "session_only"]}
8379 ] 8379 ]
8380 }, 8380 },
8381 "images": { 8381 "images": {
8382 "$ref": "ContentSetting", 8382 "$ref": "ContentSetting",
8383 "description": "Whether to show images. One of<br><var>allow</var>: Show images,<br><var>block</var>: Don't show images. <br>Default is <var>allow</var> .<br>The primary URL is the main-frame URL. The secondary URL is not used.", 8383 "description": "Whether to show images. One of<br><var>allow</var>: Show images,<br><var>block</var>: Don't show images. <br>Default is <var>allow</var> .<br>The primary URL is the main-frame URL. The secondary URL is the URL of the image.",
8384 "value": [ 8384 "value": [
8385 "images", 8385 "images",
8386 {"type":"string", "enum": ["allow", "block"]} 8386 {"type":"string", "enum": ["allow", "block"]}
8387 ] 8387 ]
8388 }, 8388 },
8389 "javascript": { 8389 "javascript": {
8390 "$ref": "ContentSetting", 8390 "$ref": "ContentSetting",
8391 "description": "Whether to run JavaScript. One of<br><var>allow</var>: R un JavaScript,<br><var>block</var>: Don't run JavaScript. <br>Default is <var>al low</var>.<br>The primary URL is the main-frame URL. The secondary URL is not us ed.", 8391 "description": "Whether to run JavaScript. One of<br><var>allow</var>: R un JavaScript,<br><var>block</var>: Don't run JavaScript. <br>Default is <var>al low</var>.<br>The primary URL is the main-frame URL. The secondary URL is not us ed.",
8392 "value": [ 8392 "value": [
8393 "javascript", 8393 "javascript",
(...skipping 772 matching lines...) Expand 10 before | Expand all | Expand 10 after
9166 } 9166 }
9167 } 9167 }
9168 } 9168 }
9169 ] 9169 ]
9170 } 9170 }
9171 ] 9171 ]
9172 } 9172 }
9173 ] 9173 ]
9174 } 9174 }
9175 ] 9175 ]
OLDNEW
« no previous file with comments | « chrome/common/content_settings.cc ('k') | chrome/common/extensions/docs/contentSettings.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698