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

Unified Diff: chrome/common/extensions/api/extension_api.json

Issue 7708025: Adds extension APIs of events on changing volume. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Combine the notifications into a single notification: onVolumeChanged. Created 9 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
« no previous file with comments | « chrome/common/chrome_notification_types.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/api/extension_api.json
diff --git a/chrome/common/extensions/api/extension_api.json b/chrome/common/extensions/api/extension_api.json
index adb49126138d2bb806fab483b056a8825b159463..6794ff930e37f371bc4ad73b7db0f75a5c4adecc 100644
--- a/chrome/common/extensions/api/extension_api.json
+++ b/chrome/common/extensions/api/extension_api.json
@@ -503,6 +503,18 @@
"description": "Information about the menu that was closed."
}
]
+ },
+ {
+ "name": "onVolumeChanged",
+ "type": "function",
+ "description": "Fired when the volume is changed.",
+ "parameters": [
+ {
+ "$ref": "AccessibilityVolumeInfo",
Zachary Kuznia 2011/08/29 09:36:29 I think you need to add AccessibilityVolumeInfo to
yoshiki 2011/08/29 11:50:43 Done.
+ "name": "volume",
+ "description": "Information about the current volume level and the volume being muted."
+ }
+ ]
}
]
},
« no previous file with comments | « chrome/common/chrome_notification_types.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698