Share verified native Where Am I speech with Remote

This commit is contained in:
ak47 committed 2026-11-05 19:04:09 -05:00
1 parent ee3d91af23
commit 8631c5a601
15 files changed
+473 -12

No files matched your search

+6 -1
View File
@@ -52,6 +52,8 @@ func (worker *Worker) nativeCapturerFor(id atspi.ObjectID) TreeCapturer {
// Result describes one requested navigation step. A boundary has Moved false
// and no error; Position remains the current object in that case.
type Result struct {
WhereAmI bool
WhereAmIRevision uint64
CurrentLine bool
CurrentLineBrowse bool
ReadAllContext context.Context
@@ -107,11 +109,14 @@ type Result struct {
DocumentLineText string
}
// request uses the existing ordered dispatch contract: native caret, Say All
// request uses the existing ordered dispatch contract: Where Am I/current line,
// native caret, Say All
// progress, Say All capture, document line, structural target, caret command,
// activation, fragment, flat unit, then object direction. Flags are deliberately
// retained; epoch and timeout retirement depend on their distinct combinations.
type request struct {
whereAmI bool
whereAmIRevision uint64
warmDocument bool
currentLine bool
currentLineBrowse bool