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

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

Issue 9289057: Changing manifest to v2 extension samples (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Adding zip files after rebasing with master Created 8 years, 10 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 "name" : "Page action by content", 2 "name" : "Page action by content",
3 "version" : "1.0", 3 "version" : "1.1",
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" : { 5 "background" : {
6 "scripts": ["background.js"] 6 "scripts": ["background.js"]
7 }, 7 },
8 "page_action" : 8 "page_action" :
9 { 9 {
10 "default_icon" : "sandwich-19.png", 10 "default_icon" : "sandwich-19.png",
11 "default_title" : "There's a 'sandwich' in this page!" 11 "default_title" : "There's a 'sandwich' in this page!"
12 }, 12 },
13 "content_scripts" : [ 13 "content_scripts" : [
14 { 14 {
15 "matches" : [ 15 "matches" : [
16 "http://*/*", 16 "http://*/*",
17 "https://*/*" 17 "https://*/*"
18 ], 18 ],
19 "js" : ["contentscript.js"], 19 "js" : ["contentscript.js"],
20 "run_at" : "document_idle", 20 "run_at" : "document_idle",
21 "all_frames" : false 21 "all_frames" : false
22 } 22 }
23 ], 23 ],
24 "icons" : { 24 "icons" : {
25 "48" : "sandwich-48.png", 25 "48" : "sandwich-48.png",
26 "128" : "sandwich-128.png" 26 "128" : "sandwich-128.png"
27 } 27 },
28 } 28 "manifest_version": 2
29 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698