Commit d4cb4ad
tvOS: Make the accessibility extension code work in Chrobalt (youtube#9221)
The code in the tree came directly from C25 and did not build as-is.
* Remove the existing implementations of GetDisplaySettings(),
GetCaptionSettings() and SetCaptionsEnabled() and provide stub
implementations instead. These functions are part of the Starboard API
for the a11y extension but nothing in the tree calls them.
* Remove the nested namespaces that were removed from the tree in main.
* Provide a GetTextToSpeechSettings() implementation that does not use
code that was removed. Just query UIAccessibilityIsVoiceOverRunning() to
determine whether TTS is active or not.
Together with youtube#9219 (and a follow-up that enables the accessibility
extension), this should be enough code to make h5vcc_accessibility
determine whether VoiceOver is on or not on tvOS.
Bug: 478127016
Bug: 447135715
Co-authored-by: fayev-g <fayev@google.com>1 parent f07228c commit d4cb4ad
File tree
7 files changed
+31
-285
lines changed7 files changed
+31
-285
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
81 | 84 | | |
82 | 85 | | |
83 | 86 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
22 | 39 | | |
23 | 40 | | |
24 | 41 | | |
25 | 42 | | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
30 | 47 | | |
31 | 48 | | |
32 | 49 | | |
33 | 50 | | |
34 | 51 | | |
35 | | - | |
36 | | - | |
37 | 52 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | 21 | | |
30 | 22 | | |
31 | 23 | | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | 24 | | |
37 | 25 | | |
38 | | - | |
39 | | - | |
40 | 26 | | |
41 | 27 | | |
42 | 28 | | |
Lines changed: 0 additions & 158 deletions
This file was deleted.
Lines changed: 0 additions & 43 deletions
This file was deleted.
Lines changed: 5 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
21 | 19 | | |
22 | 20 | | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | 21 | | |
28 | 22 | | |
29 | 23 | | |
30 | | - | |
31 | | - | |
| 24 | + | |
32 | 25 | | |
33 | 26 | | |
34 | 27 | | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
40 | 31 | | |
41 | 32 | | |
42 | 33 | | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | 34 | | |
Lines changed: 0 additions & 45 deletions
This file was deleted.
0 commit comments