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

Side by Side Diff: chrome/browser/resources/pdf/manifest.json

Issue 1217503012: Avoid cross-origin iframe issues when loading PDF in print preview (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
OLDNEW
1 { 1 {
2 // chrome-extension://mhjfbmdgcfjbbpaeojofohoefgiehjai 2 // chrome-extension://mhjfbmdgcfjbbpaeojofohoefgiehjai
3 "manifest_version": 2, 3 "manifest_version": 2,
4 "key": "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDN6hM0rsDYGbzQPQfOygqlRtQgKUXMfn SjhIBL7LnReAVBEd7ZmKtyN2qmSasMl4HZpMhVe2rPWVVwBDl6iyNE/Kok6E6v6V3vCLGsOpQAuuNVye /3QxzIldzG/jQAdWZiyXReRVapOhZtLjGfywCvlWq7Sl/e3sbc0vWybSDI2QIDAQAB", 4 "key": "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDN6hM0rsDYGbzQPQfOygqlRtQgKUXMfn SjhIBL7LnReAVBEd7ZmKtyN2qmSasMl4HZpMhVe2rPWVVwBDl6iyNE/Kok6E6v6V3vCLGsOpQAuuNVye /3QxzIldzG/jQAdWZiyXReRVapOhZtLjGfywCvlWq7Sl/e3sbc0vWybSDI2QIDAQAB",
5 "name": "<NAME>", 5 "name": "<NAME>",
6 "version": "1", 6 "version": "1",
7 "description": "", 7 "description": "",
8 "offline_enabled": true, 8 "offline_enabled": true,
9 "incognito": "split", 9 "incognito": "split",
10 "permissions": [ 10 "permissions": [
11 "<all_urls>", 11 "<all_urls>",
12 "resourcesPrivate" 12 "resourcesPrivate"
13 ], 13 ],
14 "mime_types": [ 14 "mime_types": [
15 "application/pdf" 15 "application/pdf"
16 ], 16 ],
17 "content_security_policy": "script-src 'self' blob: filesystem: chrome://resou rces; object-src * blob: filesystem: data:; plugin-types application/x-google-ch rome-pdf", 17 "content_security_policy": "script-src 'self' blob: filesystem: chrome://resou rces; object-src * blob: filesystem: data:; plugin-types application/x-google-ch rome-pdf",
18 // This is to work-around an issue where this extension is not granted
19 // permission to access chrome://resources when iframed for print preview.
20 // See https://crbug.com/444752.
21 "content_scripts": [
22 {
23 "matches": ["chrome://print/*"],
24 "js": ["content_script.js"]
25 }
26 ],
27 "mime_types_handler": "index.html", 18 "mime_types_handler": "index.html",
28 "web_accessible_resources": [ 19 "web_accessible_resources": [
29 "index.html" 20 "*.js",
21 "*.html",
22 "*.css",
23 "*.png"
30 ] 24 ]
31 } 25 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698