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. This must be between 0.0 and 100.0."}, | |
|
Ben Olmstead
2011/08/30 18:12:18
Is the value log scale or linear scale?
| |
| 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." | |
|
Ben Olmstead
2011/08/30 18:12:18
"The current state of the system volume control, i
| |
| 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 7809 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 8325 "type": "function", | 8346 "type": "function", |
| 8326 "description": "Called when the browser's passwords have been cleare d.", | 8347 "description": "Called when the browser's passwords have been cleare d.", |
| 8327 "optional": true, | 8348 "optional": true, |
| 8328 "parameters": [] | 8349 "parameters": [] |
| 8329 } | 8350 } |
| 8330 ] | 8351 ] |
| 8331 } | 8352 } |
| 8332 ] | 8353 ] |
| 8333 } | 8354 } |
| 8334 ] | 8355 ] |
| OLD | NEW |