| OLD | NEW |
| 1 { | 1 { |
| 2 "name": "A browser action with no icon that makes the page red", | 2 "name": "A browser action with no icon that sends a test message", |
| 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": ["activeTab"], | 8 "permissions": ["activeTab"], |
| 9 "browser_action": { | 9 "browser_action": { |
| 10 "default_title": "Make this page red", | 10 "default_title": "Send message", |
| 11 "default_icon": "icon.png" | 11 "default_icon": "icon.png" |
| 12 }, | 12 }, |
| 13 "commands": { | 13 "commands": { |
| 14 "toggle-feature": { | 14 "toggle-feature": { |
| 15 "suggested_key": { | 15 "suggested_key": { |
| 16 "windows": "Ctrl+Shift+Y", | 16 "windows": "Ctrl+Shift+Y", |
| 17 "mac": "MacCtrl+Shift+Y", | 17 "mac": "MacCtrl+Shift+Y", |
| 18 "linux": "Ctrl+Shift+Y", | 18 "linux": "Ctrl+Shift+Y", |
| 19 "chromeos": "Ctrl+Shift+Y", | 19 "chromeos": "Ctrl+Shift+Y", |
| 20 "default": "Ctrl+Shift+Y" | 20 "default": "Ctrl+Shift+Y" |
| 21 }, | 21 }, |
| 22 "description": "Toggle feature foo" | 22 "description": "Toggle feature foo" |
| 23 }, | 23 }, |
| 24 "_execute_browser_action": { | 24 "_execute_browser_action": { |
| 25 "suggested_key": { | 25 "suggested_key": { |
| 26 "mac": "MacCtrl+Shift+F", | 26 "mac": "MacCtrl+Shift+F", |
| 27 "default": "Ctrl+Shift+F" | 27 "default": "Ctrl+Shift+F" |
| 28 } | 28 } |
| 29 } | 29 } |
| 30 } | 30 } |
| 31 } | 31 } |
| OLD | NEW |