Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 364 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 375 { | 375 { |
| 376 "id": "TextBoxDetails", | 376 "id": "TextBoxDetails", |
| 377 "type": "object", | 377 "type": "object", |
| 378 "description": "Information about the state of a text box.", | 378 "description": "Information about the state of a text box.", |
| 379 "properties": { | 379 "properties": { |
| 380 "value": {"type": "string", "description": "The value of the text box - the entered text."}, | 380 "value": {"type": "string", "description": "The value of the text box - the entered text."}, |
| 381 "isPassword": {"type": "boolean", "description": "True if this control contains password text whose contents should be obscured."}, | 381 "isPassword": {"type": "boolean", "description": "True if this control contains password text whose contents should be obscured."}, |
| 382 "selectionStart": {"type": "integer", "description": "The index of the character where the selection starts, if this control contains editable text."} , | 382 "selectionStart": {"type": "integer", "description": "The index of the character where the selection starts, if this control contains editable text."} , |
| 383 "selectionEnd": {"type": "integer", "description": "The index of the c haracter where the selection ends, if this control contains editable text."} | 383 "selectionEnd": {"type": "integer", "description": "The index of the c haracter where the selection ends, if this control contains editable text."} |
| 384 } | 384 } |
| 385 }, | |
| 386 { | |
| 387 "id": "AccessibilityVolumeInfo", | |
| 388 "type": "object", | |
| 389 "description": "Information about the volume.", | |
| 390 "properties": { | |
| 391 "volume": {"type": "double", "description": "The value of the volume p ercent."}, | |
|
Zachary Kuznia
2011/08/30 01:58:05
nit: Add a maximum and minimum to volume.
yoshiki
2011/08/30 06:43:30
Done.
| |
| 392 "isVolumeMuted": {"type": "boolean", "description": "True if the volum e is muted."}, | |
| 393 } | |
| 385 } | 394 } |
| 386 ], | 395 ], |
| 387 "functions": [ | 396 "functions": [ |
| 388 { | 397 { |
| 389 "name": "setAccessibilityEnabled", | 398 "name": "setAccessibilityEnabled", |
| 390 "type": "function", | 399 "type": "function", |
| 391 "description": "Enables or disables the accessibility extension api. Thi s must be set to true before event listeners or getFocusedControl will work.", | 400 "description": "Enables or disables the accessibility extension api. Thi s must be set to true before event listeners or getFocusedControl will work.", |
| 392 "parameters": [ | 401 "parameters": [ |
| 393 { | 402 { |
| 394 "type": "boolean", | 403 "type": "boolean", |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 496 "name": "onMenuClosed", | 505 "name": "onMenuClosed", |
| 497 "type": "function", | 506 "type": "function", |
| 498 "description": "Fired when a menu is closed.", | 507 "description": "Fired when a menu is closed.", |
| 499 "parameters": [ | 508 "parameters": [ |
| 500 { | 509 { |
| 501 "$ref": "AccessibilityObject", | 510 "$ref": "AccessibilityObject", |
| 502 "name": "menu", | 511 "name": "menu", |
| 503 "description": "Information about the menu that was closed." | 512 "description": "Information about the menu that was closed." |
| 504 } | 513 } |
| 505 ] | 514 ] |
| 515 }, | |
| 516 { | |
| 517 "name": "onVolumeChanged", | |
| 518 "type": "function", | |
| 519 "description": "Fired when the volume is changed.", | |
| 520 "parameters": [ | |
| 521 { | |
| 522 "$ref": "AccessibilityVolumeInfo", | |
| 523 "name": "volume", | |
| 524 "description": "Information about the current volume level and the v olume being muted." | |
| 525 } | |
| 526 ] | |
| 506 } | 527 } |
| 507 ] | 528 ] |
| 508 }, | 529 }, |
| 509 { | 530 { |
| 510 "namespace": "tts", | 531 "namespace": "tts", |
| 511 "types": [ | 532 "types": [ |
| 512 { | 533 { |
| 513 "id": "TtsEvent", | 534 "id": "TtsEvent", |
| 514 "type": "object", | 535 "type": "object", |
| 515 "description": "An event from the TTS engine to communicate the status o f an utterance.", | 536 "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 Loading... | |
| 8085 "description": "A string result code. The value is non-empty on success only in tests.", | 8106 "description": "A string result code. The value is non-empty on success only in tests.", |
| 8086 "optional": "true" | 8107 "optional": "true" |
| 8087 } | 8108 } |
| 8088 ] | 8109 ] |
| 8089 } | 8110 } |
| 8090 ] | 8111 ] |
| 8091 } | 8112 } |
| 8092 ] | 8113 ] |
| 8093 } | 8114 } |
| 8094 ] | 8115 ] |
| OLD | NEW |