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

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: 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
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 7c6ca95e22abaea1fdb47e0d1dc3560a1cdbe9b8..c60398154f52efb47e3c5172eb58865e5efd32c6 100644
--- a/chrome/common/extensions/api/extension_api.json
+++ b/chrome/common/extensions/api/extension_api.json
@@ -503,6 +503,42 @@
"description": "Information about the menu that was closed."
}
]
+ },
+ {
+ "name": "onVolumeDown",
+ "type": "function",
+ "description": "Fired when the volume is down.",
dmazzoni 2011/08/24 14:49:02 down -> decreased
yoshiki 2011/08/29 09:16:16 This was replaced with onVolumeChange. On 2011/08
+ "parameters": [
+ {
+ "$ref": "AccessibilityObject",
dmazzoni 2011/08/24 14:49:02 Make this an AccessibilityVolumeInfo explicitly ra
yoshiki 2011/08/29 09:16:16 Done.
+ "name": "volume",
+ "description": "Information about the volume was down."
dmazzoni 2011/08/24 14:49:02 Information about the current volume level
yoshiki 2011/08/29 09:16:16 Done.
+ }
+ ]
+ },
+ {
+ "name": "onVolumeUp",
+ "type": "function",
+ "description": "Fired when the volume is up.",
+ "parameters": [
+ {
+ "$ref": "AccessibilityObject",
+ "name": "volume",
+ "description": "Information about the volume was up."
Daniel Erat 2011/08/24 14:52:57 "Information about the volume increasing."
yoshiki 2011/08/29 09:16:16 This was replaced with onVolumeChange. On 2011/08
+ }
+ ]
+ },
+ {
+ "name": "onVolumeMute",
+ "type": "function",
+ "description": "Fired when the volume is muted.",
+ "parameters": [
+ {
+ "$ref": "AccessibilityObject",
+ "name": "volume",
+ "description": "Information about the volume was muted."
Daniel Erat 2011/08/24 14:52:57 "Information about the volume being muted."
yoshiki 2011/08/29 09:16:16 Done.
+ }
+ ]
}
]
},
« chrome/common/chrome_notification_types.h ('K') | « chrome/common/chrome_notification_types.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698