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

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

Issue 23445013: Parse media keys for named command in the manifest. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 3 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
(Empty)
1 {
2 "name": "MediaKeys",
3 "description": "Sample Extension Commands extension For Media Keys",
4 "version": "1.0",
5 "manifest_version": 2,
6 "background": {
7 "scripts": ["background.js"],
8 "persistent": false
9 },
10 "browser_action": {
11 "default_popup": "browser_action.html"
12 },
13 "commands": {
14 "next-track": {
15 "suggested_key": {
16 "default": "MediaNextTrack"
17 },
18 "description": "Media next track"
19 },
20 "prev": {
21 "suggested_key": {
22 "default": "MediaPrevTrack"
23 },
24 "description": "Media previous track"
25 },
26 "play-pause": {
27 "suggested_key": {
28 "default": "MediaPlayPause"
29 },
30 "description": "Media play/pause"
31 },
32 "stop": {
33 "suggested_key": {
34 "default": "MediaStop"
35 },
36 "description": "Media stop"
37 }
38 }
39 }
Finnur 2013/08/28 14:15:16 I don't think this sample is needed, but if so, th
zhchbin 2013/08/29 06:20:14 Removal of example: Done. Doc commands API doc: I
Finnur 2013/08/29 11:20:52 Fine.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698