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

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: Code review (maybe again) Created 9 years, 2 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 8323 matching lines...) Expand 10 before | Expand all | Expand 10 after
8334 "cookies": { 8334 "cookies": {
8335 "$ref": "ContentSetting", 8335 "$ref": "ContentSetting",
8336 "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.", 8336 "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.",
8337 "value": [ 8337 "value": [
8338 "cookies", 8338 "cookies",
8339 {"type":"string", "enum": ["allow", "block", "session_only"]} 8339 {"type":"string", "enum": ["allow", "block", "session_only"]}
8340 ] 8340 ]
8341 }, 8341 },
8342 "images": { 8342 "images": {
8343 "$ref": "ContentSetting", 8343 "$ref": "ContentSetting",
8344 "description": "Whether to show images. One of<br><var>allow</var>: Show images,<br><var>block</var>: Don't show images. Default is <var>allow</var>.<br >The primary URL is the main-frame URL. The secondary URL is not used.", 8344 "description": "Whether to show images. One of<br><var>allow</var>: Show images,<br><var>block</var>: Don't show images. Default is <var>allow</var>.<br >The primary URL is the main-frame URL. The secondary URL is the URL of the imag e.",
8345 "value": [ 8345 "value": [
8346 "images", 8346 "images",
8347 {"type":"string", "enum": ["allow", "block"]} 8347 {"type":"string", "enum": ["allow", "block"]}
8348 ] 8348 ]
8349 }, 8349 },
8350 "javascript": { 8350 "javascript": {
8351 "$ref": "ContentSetting", 8351 "$ref": "ContentSetting",
8352 "description": "Whether to run Javascript. One of<br><var>allow</var>: R un Javascript,<br><var>block</var>: Don't run Javascript. Default is <var>allow< /var>.<br>The primary URL is the main-frame URL. The secondary URL is not used." , 8352 "description": "Whether to run Javascript. One of<br><var>allow</var>: R un Javascript,<br><var>block</var>: Don't run Javascript. Default is <var>allow< /var>.<br>The primary URL is the main-frame URL. The secondary URL is not used." ,
8353 "value": [ 8353 "value": [
8354 "javascript", 8354 "javascript",
(...skipping 720 matching lines...) Expand 10 before | Expand all | Expand 10 after
9075 "type": "array", 9075 "type": "array",
9076 "items": { "$ref": "mimeTypeEnum" } 9076 "items": { "$ref": "mimeTypeEnum" }
9077 } 9077 }
9078 ] 9078 ]
9079 } 9079 }
9080 ] 9080 ]
9081 } 9081 }
9082 ] 9082 ]
9083 } 9083 }
9084 ] 9084 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698