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

Side by Side Diff: chrome/common/extensions/docs/examples/api/pageAction/pageaction_by_content/manifest.json

Issue 7633017: Adding content_security_policy to sample extensions when relevant. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
OLDNEW
1 { 1 {
2 "name" : "Page action by content", 2 "name" : "Page action by content",
3 "version" : "1.0", 3 "version" : "1.0",
4 "description" : "Shows a page action for HTML pages containing the word 'sandw ich'", 4 "description" : "Shows a page action for HTML pages containing the word 'sandw ich'",
5 "background_page" : "background.html", 5 "background_page" : "background.html",
6 "page_action" : 6 "page_action" :
7 { 7 {
8 "default_icon" : "sandwich-19.png", 8 "default_icon" : "sandwich-19.png",
9 "default_title" : "There's a 'sandwich' in this page!" 9 "default_title" : "There's a 'sandwich' in this page!"
10 }, 10 },
11 "content_scripts" : [ 11 "content_scripts" : [
12 { 12 {
13 "matches" : [ 13 "matches" : [
14 "http://*/*", 14 "http://*/*",
15 "https://*/*" 15 "https://*/*"
16 ], 16 ],
17 "js" : ["contentscript.js"], 17 "js" : ["contentscript.js"],
18 "run_at" : "document_idle", 18 "run_at" : "document_idle",
19 "all_frames" : false 19 "all_frames" : false
20 } 20 }
21 ], 21 ],
22 "icons" : { 22 "icons" : {
23 "48" : "sandwich-48.png", 23 "48" : "sandwich-48.png",
24 "128" : "sandwich-128.png" 24 "128" : "sandwich-128.png"
25 } 25 },
26 "content_security_policy": "default-src 'self'"
26 } 27 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698