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

Side by Side Diff: chrome/common/extensions/api/extension_api.json

Issue 8558014: Add experimental extension APIs to notify about wakeup and screen unlock (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased to ToT Created 9 years, 1 month 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 "types": [ 4 "types": [
5 { 5 {
6 "id": "MessageSender", 6 "id": "MessageSender",
7 "type": "object", 7 "type": "object",
8 "description": "An object containing information about the script contex t that sent a message or request.", 8 "description": "An object containing information about the script contex t that sent a message or request.",
9 "properties": { 9 "properties": {
10 "tab": {"$ref": "Tab", "optional": true, "description":"This property will <b>only</b> be present when the connection was opened from a tab or content script."}, 10 "tab": {"$ref": "Tab", "optional": true, "description":"This property will <b>only</b> be present when the connection was opened from a tab or content script."},
(...skipping 491 matching lines...) Expand 10 before | Expand all | Expand 10 after
502 "name": "onVolumeChanged", 502 "name": "onVolumeChanged",
503 "type": "function", 503 "type": "function",
504 "description": "Fired when the volume is changed.", 504 "description": "Fired when the volume is changed.",
505 "parameters": [ 505 "parameters": [
506 { 506 {
507 "$ref": "AccessibilityVolumeInfo", 507 "$ref": "AccessibilityVolumeInfo",
508 "name": "volume", 508 "name": "volume",
509 "description": "Information about the current state of the system vo lume control, including whether it is muted." 509 "description": "Information about the current state of the system vo lume control, including whether it is muted."
510 } 510 }
511 ] 511 ]
512 },
513 {
514 "name": "onScreenUnlocked",
515 "type": "function",
516 "description": "Fired when the screen is unlocked.",
517 "parameters": []
518 },
519 {
520 "name": "onWokeUp",
521 "type": "function",
522 "description": "Fired when the device wakes up from sleep.",
523 "parameters": []
512 } 524 }
513 ] 525 ]
514 }, 526 },
515 { 527 {
516 "namespace": "experimental.speechInput", 528 "namespace": "experimental.speechInput",
517 "types": [ 529 "types": [
518 { 530 {
519 "id": "SpeechInputStartOptions", 531 "id": "SpeechInputStartOptions",
520 "type": "object", 532 "type": "object",
521 "description": "Object describing the options used for speech recognitio n.", 533 "description": "Object describing the options used for speech recognitio n.",
(...skipping 8718 matching lines...) Expand 10 before | Expand all | Expand 10 after
9240 } 9252 }
9241 } 9253 }
9242 } 9254 }
9243 ] 9255 ]
9244 } 9256 }
9245 ] 9257 ]
9246 } 9258 }
9247 ] 9259 ]
9248 } 9260 }
9249 ] 9261 ]
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