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

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

Issue 124603003: Change the pageaction_by_content example to use declarativeContent. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | Annotate | Revision Log
OLDNEW
1 { 1 {
2 "name" : "Page action by content", 2 "name" : "Page action by content",
3 "version" : "1.1", 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 a video",
5 "background" : { 5 "background" : {
6 "scripts": ["background.js"] 6 "scripts": ["background.js"],
7 "persistent": false
7 }, 8 },
8 "page_action" : 9 "page_action" :
9 { 10 {
10 "default_icon" : "sandwich-19.png", 11 "default_icon" : "video-19.png",
11 "default_title" : "There's a 'sandwich' in this page!" 12 "default_title" : "There's a <video> in this page!"
12 }, 13 },
13 "content_scripts" : [ 14 "permissions": [ "declarativeContent" ],
14 {
15 "matches" : [
16 "http://*/*",
17 "https://*/*"
18 ],
19 "js" : ["contentscript.js"],
20 "run_at" : "document_idle",
21 "all_frames" : false
22 }
23 ],
24 "icons" : { 15 "icons" : {
25 "48" : "sandwich-48.png", 16 "48" : "video-48.png",
26 "128" : "sandwich-128.png" 17 "128" : "video-128.png"
27 }, 18 },
28 "manifest_version": 2 19 "manifest_version": 2
29 } 20 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698