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

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

Issue 797183005: Add a mimeHandler extension API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@streams-lifetime
Patch Set: Created 5 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 // chrome-extension://mhjfbmdgcfjbbpaeojofohoefgiehjai 1 // chrome-extension://mhjfbmdgcfjbbpaeojofohoefgiehjai
2 "manifest_version": 2, 2 "manifest_version": 2,
3 "key": "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDN6hM0rsDYGbzQPQfOygqlRtQgKUXMfn SjhIBL7LnReAVBEd7ZmKtyN2qmSasMl4HZpMhVe2rPWVVwBDl6iyNE/Kok6E6v6V3vCLGsOpQAuuNVye /3QxzIldzG/jQAdWZiyXReRVapOhZtLjGfywCvlWq7Sl/e3sbc0vWybSDI2QIDAQAB", 3 "key": "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDN6hM0rsDYGbzQPQfOygqlRtQgKUXMfn SjhIBL7LnReAVBEd7ZmKtyN2qmSasMl4HZpMhVe2rPWVVwBDl6iyNE/Kok6E6v6V3vCLGsOpQAuuNVye /3QxzIldzG/jQAdWZiyXReRVapOhZtLjGfywCvlWq7Sl/e3sbc0vWybSDI2QIDAQAB",
4 "name": "Chrome PDF Viewer", 4 "name": "Chrome PDF Viewer",
5 "version": "1", 5 "version": "1",
6 "description": "Chrome PDF Viewer", 6 "description": "Chrome PDF Viewer",
7 "offline_enabled": true, 7 "offline_enabled": true,
8 "incognito": "split", 8 "incognito": "split",
9 "permissions": [ 9 "permissions": [
10 "file://*/", 10 "file://*/",
11 "ftp://*/", 11 "ftp://*/",
12 "http://*/", 12 "http://*/",
13 "https://*/", 13 "https://*/",
14 "chrome://*/", 14 "chrome://*/",
15 "streamsPrivate" 15 "streamsPrivate"
16 ], 16 ],
17 "background": {
18 "scripts": ["background.js"],
19 "transient": true,
20 "persistent": false
21 },
22 "mime_types": [ 17 "mime_types": [
23 "application/pdf" 18 "application/pdf"
24 ], 19 ],
25 "content_security_policy": "script-src 'self' chrome://resources; object-src * ; plugin-types application/x-google-chrome-pdf", 20 "content_security_policy": "script-src 'self' chrome://resources; object-src * ; plugin-types application/x-google-chrome-pdf",
26 // This is to work-around an issue where this extension is not granted 21 // This is to work-around an issue where this extension is not granted
27 // permission to access chrome://resources when iframed for print preview. 22 // permission to access chrome://resources when iframed for print preview.
28 // See https://crbug.com/444752. 23 // See https://crbug.com/444752.
29 "content_scripts": [ 24 "content_scripts": [
30 { 25 {
31 "matches": ["chrome://print/*"], 26 "matches": ["chrome://print/*"],
32 "js": ["content_script.js"] 27 "js": ["content_script.js"]
33 } 28 }
34 ] 29 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698