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

Side by Side 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, 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 | Annotate | Revision Log
« no previous file with comments | « chrome/common/chrome_notification_types.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 [ 1 [
2 { 2 {
3 "namespace": "extension", 3 "namespace": "extension",
4 "unprivileged": true, 4 "unprivileged": true,
5 "types": [ 5 "types": [
6 { 6 {
7 "id": "MessageSender", 7 "id": "MessageSender",
8 "type": "object", 8 "type": "object",
9 "description": "An object containing information about the script contex t that sent a message or request.", 9 "description": "An object containing information about the script contex t that sent a message or request.",
10 "properties": { 10 "properties": {
(...skipping 485 matching lines...) Expand 10 before | Expand all | Expand 10 after
496 "name": "onMenuClosed", 496 "name": "onMenuClosed",
497 "type": "function", 497 "type": "function",
498 "description": "Fired when a menu is closed.", 498 "description": "Fired when a menu is closed.",
499 "parameters": [ 499 "parameters": [
500 { 500 {
501 "$ref": "AccessibilityObject", 501 "$ref": "AccessibilityObject",
502 "name": "menu", 502 "name": "menu",
503 "description": "Information about the menu that was closed." 503 "description": "Information about the menu that was closed."
504 } 504 }
505 ] 505 ]
506 },
507 {
508 "name": "onVolumeChanged",
509 "type": "function",
510 "description": "Fired when the volume is changed.",
511 "parameters": [
512 {
513 "$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.
514 "name": "volume",
515 "description": "Information about the current volume level and the v olume being muted."
516 }
517 ]
506 } 518 }
507 ] 519 ]
508 }, 520 },
509 { 521 {
510 "namespace": "tts", 522 "namespace": "tts",
511 "types": [ 523 "types": [
512 { 524 {
513 "id": "TtsEvent", 525 "id": "TtsEvent",
514 "type": "object", 526 "type": "object",
515 "description": "An event from the TTS engine to communicate the status o f an utterance.", 527 "description": "An event from the TTS engine to communicate the status o f an utterance.",
(...skipping 7569 matching lines...) Expand 10 before | Expand all | Expand 10 after
8085 "description": "A string result code. The value is non-empty on success only in tests.", 8097 "description": "A string result code. The value is non-empty on success only in tests.",
8086 "optional": "true" 8098 "optional": "true"
8087 } 8099 }
8088 ] 8100 ]
8089 } 8101 }
8090 ] 8102 ]
8091 } 8103 }
8092 ] 8104 ]
8093 } 8105 }
8094 ] 8106 ]
OLDNEW
« 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