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

Unified 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, 4 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/docs/examples/api/mediaKeysCommand/manifest.json
diff --git a/chrome/common/extensions/docs/examples/api/mediaKeysCommand/manifest.json b/chrome/common/extensions/docs/examples/api/mediaKeysCommand/manifest.json
new file mode 100644
index 0000000000000000000000000000000000000000..8dcc368c2aab3c8dc23076211b04764c508cb246
--- /dev/null
+++ b/chrome/common/extensions/docs/examples/api/mediaKeysCommand/manifest.json
@@ -0,0 +1,39 @@
+{
+ "name": "MediaKeys",
+ "description": "Sample Extension Commands extension For Media Keys",
+ "version": "1.0",
+ "manifest_version": 2,
+ "background": {
+ "scripts": ["background.js"],
+ "persistent": false
+ },
+ "browser_action": {
+ "default_popup": "browser_action.html"
+ },
+ "commands": {
+ "next-track": {
+ "suggested_key": {
+ "default": "MediaNextTrack"
+ },
+ "description": "Media next track"
+ },
+ "prev": {
+ "suggested_key": {
+ "default": "MediaPrevTrack"
+ },
+ "description": "Media previous track"
+ },
+ "play-pause": {
+ "suggested_key": {
+ "default": "MediaPlayPause"
+ },
+ "description": "Media play/pause"
+ },
+ "stop": {
+ "suggested_key": {
+ "default": "MediaStop"
+ },
+ "description": "Media stop"
+ }
+ }
+}
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.

Powered by Google App Engine
This is Rietveld 408576698