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

Side by Side Diff: chrome/test/data/extensions/api_test/keybinding/basics/manifest.json

Issue 10880064: Make extension commands grant the activeTab permission. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comments Created 8 years, 2 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": "A browser action with no icon that makes the page red", 2 "name": "A browser action with no icon that makes the page red",
3 "version": "1.0", 3 "version": "1.0",
4 "manifest_version": 2, 4 "manifest_version": 2,
5 "background": { 5 "background": {
6 "scripts": ["background.js"] 6 "scripts": ["background.js"]
7 }, 7 },
8 "permissions": [ 8 "permissions": ["activeTab"],
9 "tabs", "http://*/*"
10 ],
11 "browser_action": { 9 "browser_action": {
12 "default_title": "Make this page red", 10 "default_title": "Make this page red",
13 "default_icon": "icon.png" 11 "default_icon": "icon.png"
14 }, 12 },
15 "commands": { 13 "commands": {
16 "toggle-feature": { 14 "toggle-feature": {
17 "suggested_key": { 15 "suggested_key": {
18 "windows": "Ctrl+Shift+Y", 16 "windows": "Ctrl+Shift+Y",
19 "mac": "MacCtrl+Shift+Y", 17 "mac": "MacCtrl+Shift+Y",
20 "linux": "Ctrl+Shift+Y", 18 "linux": "Ctrl+Shift+Y",
21 "chromeos": "Ctrl+Shift+Y", 19 "chromeos": "Ctrl+Shift+Y",
22 "default": "Ctrl+Shift+Y" 20 "default": "Ctrl+Shift+Y"
23 }, 21 },
24 "description": "Toggle feature foo" 22 "description": "Toggle feature foo"
25 }, 23 },
26 "_execute_browser_action": { 24 "_execute_browser_action": {
27 "suggested_key": { 25 "suggested_key": {
28 "mac": "MacCtrl+Shift+F", 26 "mac": "MacCtrl+Shift+F",
29 "default": "Ctrl+Shift+F" 27 "default": "Ctrl+Shift+F"
30 } 28 }
31 } 29 }
32 } 30 }
33 } 31 }
OLDNEW
« no previous file with comments | « chrome/chrome_browser_extensions.gypi ('k') | chrome/test/data/extensions/api_test/keybinding/conflicting/manifest.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698