Lines Matching refs:ax

11 const char* ToString(ax::mojom::Event event) {  in ToString()
13 case ax::mojom::Event::kNone: in ToString()
15 case ax::mojom::Event::kActiveDescendantChanged: in ToString()
17 case ax::mojom::Event::kAlert: in ToString()
19 case ax::mojom::Event::kAriaAttributeChanged: in ToString()
21 case ax::mojom::Event::kAutocorrectionOccured: in ToString()
23 case ax::mojom::Event::kBlur: in ToString()
25 case ax::mojom::Event::kCheckedStateChanged: in ToString()
27 case ax::mojom::Event::kChildrenChanged: in ToString()
29 case ax::mojom::Event::kClicked: in ToString()
31 case ax::mojom::Event::kControlsChanged: in ToString()
33 case ax::mojom::Event::kDocumentSelectionChanged: in ToString()
35 case ax::mojom::Event::kDocumentTitleChanged: in ToString()
37 case ax::mojom::Event::kEndOfTest: in ToString()
39 case ax::mojom::Event::kExpandedChanged: in ToString()
41 case ax::mojom::Event::kFocus: in ToString()
43 case ax::mojom::Event::kFocusAfterMenuClose: in ToString()
45 case ax::mojom::Event::kFocusContext: in ToString()
47 case ax::mojom::Event::kHide: in ToString()
49 case ax::mojom::Event::kHitTestResult: in ToString()
51 case ax::mojom::Event::kHover: in ToString()
53 case ax::mojom::Event::kImageFrameUpdated: in ToString()
55 case ax::mojom::Event::kInvalidStatusChanged: in ToString()
57 case ax::mojom::Event::kLayoutComplete: in ToString()
59 case ax::mojom::Event::kLiveRegionCreated: in ToString()
61 case ax::mojom::Event::kLiveRegionChanged: in ToString()
63 case ax::mojom::Event::kLoadComplete: in ToString()
65 case ax::mojom::Event::kLoadStart: in ToString()
67 case ax::mojom::Event::kLocationChanged: in ToString()
69 case ax::mojom::Event::kMediaStartedPlaying: in ToString()
71 case ax::mojom::Event::kMediaStoppedPlaying: in ToString()
73 case ax::mojom::Event::kMenuEnd: in ToString()
75 case ax::mojom::Event::kMenuListItemSelected: in ToString()
77 case ax::mojom::Event::kMenuListValueChanged: in ToString()
79 case ax::mojom::Event::kMenuPopupEnd: in ToString()
81 case ax::mojom::Event::kMenuPopupHide: in ToString()
83 case ax::mojom::Event::kMenuPopupStart: in ToString()
85 case ax::mojom::Event::kMenuStart: in ToString()
87 case ax::mojom::Event::kMouseCanceled: in ToString()
89 case ax::mojom::Event::kMouseDragged: in ToString()
91 case ax::mojom::Event::kMouseMoved: in ToString()
93 case ax::mojom::Event::kMousePressed: in ToString()
95 case ax::mojom::Event::kMouseReleased: in ToString()
97 case ax::mojom::Event::kRowCollapsed: in ToString()
99 case ax::mojom::Event::kRowCountChanged: in ToString()
101 case ax::mojom::Event::kRowExpanded: in ToString()
103 case ax::mojom::Event::kScrollPositionChanged: in ToString()
105 case ax::mojom::Event::kScrolledToAnchor: in ToString()
107 case ax::mojom::Event::kSelectedChildrenChanged: in ToString()
109 case ax::mojom::Event::kSelection: in ToString()
111 case ax::mojom::Event::kSelectionAdd: in ToString()
113 case ax::mojom::Event::kSelectionRemove: in ToString()
115 case ax::mojom::Event::kShow: in ToString()
117 case ax::mojom::Event::kStateChanged: in ToString()
119 case ax::mojom::Event::kTextChanged: in ToString()
121 case ax::mojom::Event::kTextSelectionChanged: in ToString()
123 case ax::mojom::Event::kTooltipClosed: in ToString()
125 case ax::mojom::Event::kTooltipOpened: in ToString()
127 case ax::mojom::Event::kWindowActivated: in ToString()
129 case ax::mojom::Event::kWindowDeactivated: in ToString()
131 case ax::mojom::Event::kWindowVisibilityChanged: in ToString()
133 case ax::mojom::Event::kTreeChanged: in ToString()
135 case ax::mojom::Event::kValueChanged: in ToString()
142 ax::mojom::Event ParseEvent(const char* event) { in ParseEvent()
144 return ax::mojom::Event::kNone; in ParseEvent()
146 return ax::mojom::Event::kActiveDescendantChanged; in ParseEvent()
148 return ax::mojom::Event::kAlert; in ParseEvent()
150 return ax::mojom::Event::kAriaAttributeChanged; in ParseEvent()
152 return ax::mojom::Event::kAutocorrectionOccured; in ParseEvent()
154 return ax::mojom::Event::kBlur; in ParseEvent()
156 return ax::mojom::Event::kCheckedStateChanged; in ParseEvent()
158 return ax::mojom::Event::kChildrenChanged; in ParseEvent()
160 return ax::mojom::Event::kClicked; in ParseEvent()
162 return ax::mojom::Event::kControlsChanged; in ParseEvent()
164 return ax::mojom::Event::kDocumentSelectionChanged; in ParseEvent()
166 return ax::mojom::Event::kDocumentTitleChanged; in ParseEvent()
168 return ax::mojom::Event::kEndOfTest; in ParseEvent()
170 return ax::mojom::Event::kExpandedChanged; in ParseEvent()
172 return ax::mojom::Event::kFocus; in ParseEvent()
174 return ax::mojom::Event::kFocusAfterMenuClose; in ParseEvent()
176 return ax::mojom::Event::kFocusContext; in ParseEvent()
178 return ax::mojom::Event::kHide; in ParseEvent()
180 return ax::mojom::Event::kHitTestResult; in ParseEvent()
182 return ax::mojom::Event::kHover; in ParseEvent()
184 return ax::mojom::Event::kImageFrameUpdated; in ParseEvent()
186 return ax::mojom::Event::kInvalidStatusChanged; in ParseEvent()
188 return ax::mojom::Event::kLayoutComplete; in ParseEvent()
190 return ax::mojom::Event::kLiveRegionCreated; in ParseEvent()
192 return ax::mojom::Event::kLiveRegionChanged; in ParseEvent()
194 return ax::mojom::Event::kLoadComplete; in ParseEvent()
196 return ax::mojom::Event::kLoadStart; in ParseEvent()
198 return ax::mojom::Event::kLocationChanged; in ParseEvent()
200 return ax::mojom::Event::kMediaStartedPlaying; in ParseEvent()
202 return ax::mojom::Event::kMediaStoppedPlaying; in ParseEvent()
204 return ax::mojom::Event::kMenuEnd; in ParseEvent()
206 return ax::mojom::Event::kMenuListItemSelected; in ParseEvent()
208 return ax::mojom::Event::kMenuListValueChanged; in ParseEvent()
210 return ax::mojom::Event::kMenuPopupEnd; in ParseEvent()
212 return ax::mojom::Event::kMenuPopupHide; in ParseEvent()
214 return ax::mojom::Event::kMenuPopupStart; in ParseEvent()
216 return ax::mojom::Event::kMenuStart; in ParseEvent()
218 return ax::mojom::Event::kMouseCanceled; in ParseEvent()
220 return ax::mojom::Event::kMouseDragged; in ParseEvent()
222 return ax::mojom::Event::kMouseMoved; in ParseEvent()
224 return ax::mojom::Event::kMousePressed; in ParseEvent()
226 return ax::mojom::Event::kMouseReleased; in ParseEvent()
228 return ax::mojom::Event::kRowCollapsed; in ParseEvent()
230 return ax::mojom::Event::kRowCountChanged; in ParseEvent()
232 return ax::mojom::Event::kRowExpanded; in ParseEvent()
234 return ax::mojom::Event::kScrollPositionChanged; in ParseEvent()
236 return ax::mojom::Event::kScrolledToAnchor; in ParseEvent()
238 return ax::mojom::Event::kSelectedChildrenChanged; in ParseEvent()
240 return ax::mojom::Event::kSelection; in ParseEvent()
242 return ax::mojom::Event::kSelectionAdd; in ParseEvent()
244 return ax::mojom::Event::kSelectionRemove; in ParseEvent()
246 return ax::mojom::Event::kShow; in ParseEvent()
248 return ax::mojom::Event::kStateChanged; in ParseEvent()
250 return ax::mojom::Event::kTextChanged; in ParseEvent()
252 return ax::mojom::Event::kTextSelectionChanged; in ParseEvent()
254 return ax::mojom::Event::kTooltipClosed; in ParseEvent()
256 return ax::mojom::Event::kTooltipOpened; in ParseEvent()
258 return ax::mojom::Event::kWindowActivated; in ParseEvent()
260 return ax::mojom::Event::kWindowDeactivated; in ParseEvent()
262 return ax::mojom::Event::kWindowVisibilityChanged; in ParseEvent()
264 return ax::mojom::Event::kTreeChanged; in ParseEvent()
266 return ax::mojom::Event::kValueChanged; in ParseEvent()
267 return ax::mojom::Event::kNone; in ParseEvent()
270 const char* ToString(ax::mojom::Role role) { in ToString()
272 case ax::mojom::Role::kNone: in ToString()
274 case ax::mojom::Role::kAbbr: in ToString()
276 case ax::mojom::Role::kAlertDialog: in ToString()
278 case ax::mojom::Role::kAlert: in ToString()
280 case ax::mojom::Role::kAnchor: in ToString()
282 case ax::mojom::Role::kApplication: in ToString()
284 case ax::mojom::Role::kArticle: in ToString()
286 case ax::mojom::Role::kAudio: in ToString()
288 case ax::mojom::Role::kBanner: in ToString()
290 case ax::mojom::Role::kBlockquote: in ToString()
292 case ax::mojom::Role::kButton: in ToString()
294 case ax::mojom::Role::kCanvas: in ToString()
296 case ax::mojom::Role::kCaption: in ToString()
298 case ax::mojom::Role::kCaret: in ToString()
300 case ax::mojom::Role::kCell: in ToString()
302 case ax::mojom::Role::kCheckBox: in ToString()
304 case ax::mojom::Role::kClient: in ToString()
306 case ax::mojom::Role::kCode: in ToString()
308 case ax::mojom::Role::kColorWell: in ToString()
310 case ax::mojom::Role::kColumnHeader: in ToString()
312 case ax::mojom::Role::kColumn: in ToString()
314 case ax::mojom::Role::kComboBoxGrouping: in ToString()
316 case ax::mojom::Role::kComboBoxMenuButton: in ToString()
318 case ax::mojom::Role::kComment: in ToString()
320 case ax::mojom::Role::kComplementary: in ToString()
322 case ax::mojom::Role::kContentDeletion: in ToString()
324 case ax::mojom::Role::kContentInsertion: in ToString()
326 case ax::mojom::Role::kContentInfo: in ToString()
328 case ax::mojom::Role::kDate: in ToString()
330 case ax::mojom::Role::kDateTime: in ToString()
332 case ax::mojom::Role::kDefinition: in ToString()
334 case ax::mojom::Role::kDescriptionListDetail: in ToString()
336 case ax::mojom::Role::kDescriptionList: in ToString()
338 case ax::mojom::Role::kDescriptionListTerm: in ToString()
340 case ax::mojom::Role::kDesktop: in ToString()
342 case ax::mojom::Role::kDetails: in ToString()
344 case ax::mojom::Role::kDialog: in ToString()
346 case ax::mojom::Role::kDirectory: in ToString()
348 case ax::mojom::Role::kDisclosureTriangle: in ToString()
350 case ax::mojom::Role::kDocAbstract: in ToString()
352 case ax::mojom::Role::kDocAcknowledgments: in ToString()
354 case ax::mojom::Role::kDocAfterword: in ToString()
356 case ax::mojom::Role::kDocAppendix: in ToString()
358 case ax::mojom::Role::kDocBackLink: in ToString()
360 case ax::mojom::Role::kDocBiblioEntry: in ToString()
362 case ax::mojom::Role::kDocBibliography: in ToString()
364 case ax::mojom::Role::kDocBiblioRef: in ToString()
366 case ax::mojom::Role::kDocChapter: in ToString()
368 case ax::mojom::Role::kDocColophon: in ToString()
370 case ax::mojom::Role::kDocConclusion: in ToString()
372 case ax::mojom::Role::kDocCover: in ToString()
374 case ax::mojom::Role::kDocCredit: in ToString()
376 case ax::mojom::Role::kDocCredits: in ToString()
378 case ax::mojom::Role::kDocDedication: in ToString()
380 case ax::mojom::Role::kDocEndnote: in ToString()
382 case ax::mojom::Role::kDocEndnotes: in ToString()
384 case ax::mojom::Role::kDocEpigraph: in ToString()
386 case ax::mojom::Role::kDocEpilogue: in ToString()
388 case ax::mojom::Role::kDocErrata: in ToString()
390 case ax::mojom::Role::kDocExample: in ToString()
392 case ax::mojom::Role::kDocFootnote: in ToString()
394 case ax::mojom::Role::kDocForeword: in ToString()
396 case ax::mojom::Role::kDocGlossary: in ToString()
398 case ax::mojom::Role::kDocGlossRef: in ToString()
400 case ax::mojom::Role::kDocIndex: in ToString()
402 case ax::mojom::Role::kDocIntroduction: in ToString()
404 case ax::mojom::Role::kDocNoteRef: in ToString()
406 case ax::mojom::Role::kDocNotice: in ToString()
408 case ax::mojom::Role::kDocPageBreak: in ToString()
410 case ax::mojom::Role::kDocPageList: in ToString()
412 case ax::mojom::Role::kDocPart: in ToString()
414 case ax::mojom::Role::kDocPreface: in ToString()
416 case ax::mojom::Role::kDocPrologue: in ToString()
418 case ax::mojom::Role::kDocPullquote: in ToString()
420 case ax::mojom::Role::kDocQna: in ToString()
422 case ax::mojom::Role::kDocSubtitle: in ToString()
424 case ax::mojom::Role::kDocTip: in ToString()
426 case ax::mojom::Role::kDocToc: in ToString()
428 case ax::mojom::Role::kDocument: in ToString()
430 case ax::mojom::Role::kEmbeddedObject: in ToString()
432 case ax::mojom::Role::kEmphasis: in ToString()
434 case ax::mojom::Role::kFeed: in ToString()
436 case ax::mojom::Role::kFigcaption: in ToString()
438 case ax::mojom::Role::kFigure: in ToString()
440 case ax::mojom::Role::kFooter: in ToString()
442 case ax::mojom::Role::kFooterAsNonLandmark: in ToString()
444 case ax::mojom::Role::kForm: in ToString()
446 case ax::mojom::Role::kGenericContainer: in ToString()
448 case ax::mojom::Role::kGraphicsDocument: in ToString()
450 case ax::mojom::Role::kGraphicsObject: in ToString()
452 case ax::mojom::Role::kGraphicsSymbol: in ToString()
454 case ax::mojom::Role::kGrid: in ToString()
456 case ax::mojom::Role::kGroup: in ToString()
458 case ax::mojom::Role::kHeader: in ToString()
460 case ax::mojom::Role::kHeaderAsNonLandmark: in ToString()
462 case ax::mojom::Role::kHeading: in ToString()
464 case ax::mojom::Role::kIframe: in ToString()
466 case ax::mojom::Role::kIframePresentational: in ToString()
468 case ax::mojom::Role::kIgnored: in ToString()
470 case ax::mojom::Role::kImageMap: in ToString()
472 case ax::mojom::Role::kImage: in ToString()
474 case ax::mojom::Role::kInlineTextBox: in ToString()
476 case ax::mojom::Role::kInputTime: in ToString()
478 case ax::mojom::Role::kKeyboard: in ToString()
480 case ax::mojom::Role::kLabelText: in ToString()
482 case ax::mojom::Role::kLayoutTable: in ToString()
484 case ax::mojom::Role::kLayoutTableCell: in ToString()
486 case ax::mojom::Role::kLayoutTableRow: in ToString()
488 case ax::mojom::Role::kLegend: in ToString()
490 case ax::mojom::Role::kLineBreak: in ToString()
492 case ax::mojom::Role::kLink: in ToString()
494 case ax::mojom::Role::kList: in ToString()
496 case ax::mojom::Role::kListBoxOption: in ToString()
498 case ax::mojom::Role::kListBox: in ToString()
500 case ax::mojom::Role::kListGrid: in ToString()
502 case ax::mojom::Role::kListItem: in ToString()
504 case ax::mojom::Role::kListMarker: in ToString()
506 case ax::mojom::Role::kLog: in ToString()
508 case ax::mojom::Role::kMain: in ToString()
510 case ax::mojom::Role::kMark: in ToString()
512 case ax::mojom::Role::kMarquee: in ToString()
514 case ax::mojom::Role::kMath: in ToString()
516 case ax::mojom::Role::kMenu: in ToString()
518 case ax::mojom::Role::kMenuBar: in ToString()
520 case ax::mojom::Role::kMenuButton: in ToString()
522 case ax::mojom::Role::kMenuItem: in ToString()
524 case ax::mojom::Role::kMenuItemCheckBox: in ToString()
526 case ax::mojom::Role::kMenuItemRadio: in ToString()
528 case ax::mojom::Role::kMenuListOption: in ToString()
530 case ax::mojom::Role::kMenuListPopup: in ToString()
532 case ax::mojom::Role::kMeter: in ToString()
534 case ax::mojom::Role::kNavigation: in ToString()
536 case ax::mojom::Role::kNote: in ToString()
538 case ax::mojom::Role::kPane: in ToString()
540 case ax::mojom::Role::kParagraph: in ToString()
542 case ax::mojom::Role::kPdfActionableHighlight: in ToString()
544 case ax::mojom::Role::kPluginObject: in ToString()
546 case ax::mojom::Role::kPopUpButton: in ToString()
548 case ax::mojom::Role::kPortal: in ToString()
550 case ax::mojom::Role::kPre: in ToString()
552 case ax::mojom::Role::kPresentational: in ToString()
554 case ax::mojom::Role::kProgressIndicator: in ToString()
556 case ax::mojom::Role::kRadioButton: in ToString()
558 case ax::mojom::Role::kRadioGroup: in ToString()
560 case ax::mojom::Role::kRegion: in ToString()
562 case ax::mojom::Role::kRootWebArea: in ToString()
564 case ax::mojom::Role::kRow: in ToString()
566 case ax::mojom::Role::kRowGroup: in ToString()
568 case ax::mojom::Role::kRowHeader: in ToString()
570 case ax::mojom::Role::kRuby: in ToString()
572 case ax::mojom::Role::kRubyAnnotation: in ToString()
574 case ax::mojom::Role::kSection: in ToString()
576 case ax::mojom::Role::kStrong: in ToString()
578 case ax::mojom::Role::kSuggestion: in ToString()
580 case ax::mojom::Role::kSvgRoot: in ToString()
582 case ax::mojom::Role::kScrollBar: in ToString()
584 case ax::mojom::Role::kScrollView: in ToString()
586 case ax::mojom::Role::kSearch: in ToString()
588 case ax::mojom::Role::kSearchBox: in ToString()
590 case ax::mojom::Role::kSlider: in ToString()
592 case ax::mojom::Role::kSliderThumb: in ToString()
594 case ax::mojom::Role::kSpinButton: in ToString()
596 case ax::mojom::Role::kSplitter: in ToString()
598 case ax::mojom::Role::kStaticText: in ToString()
600 case ax::mojom::Role::kStatus: in ToString()
602 case ax::mojom::Role::kSwitch: in ToString()
604 case ax::mojom::Role::kTabList: in ToString()
606 case ax::mojom::Role::kTabPanel: in ToString()
608 case ax::mojom::Role::kTab: in ToString()
610 case ax::mojom::Role::kTable: in ToString()
612 case ax::mojom::Role::kTableHeaderContainer: in ToString()
614 case ax::mojom::Role::kTerm: in ToString()
616 case ax::mojom::Role::kTextField: in ToString()
618 case ax::mojom::Role::kTextFieldWithComboBox: in ToString()
620 case ax::mojom::Role::kTime: in ToString()
622 case ax::mojom::Role::kTimer: in ToString()
624 case ax::mojom::Role::kTitleBar: in ToString()
626 case ax::mojom::Role::kToggleButton: in ToString()
628 case ax::mojom::Role::kToolbar: in ToString()
630 case ax::mojom::Role::kTreeGrid: in ToString()
632 case ax::mojom::Role::kTreeItem: in ToString()
634 case ax::mojom::Role::kTree: in ToString()
636 case ax::mojom::Role::kUnknown: in ToString()
638 case ax::mojom::Role::kTooltip: in ToString()
640 case ax::mojom::Role::kVideo: in ToString()
642 case ax::mojom::Role::kWebArea: in ToString()
644 case ax::mojom::Role::kWebView: in ToString()
646 case ax::mojom::Role::kWindow: in ToString()
653 ax::mojom::Role ParseRole(const char* role) { in ParseRole()
655 return ax::mojom::Role::kNone; in ParseRole()
657 return ax::mojom::Role::kAbbr; in ParseRole()
659 return ax::mojom::Role::kAlertDialog; in ParseRole()
661 return ax::mojom::Role::kAlert; in ParseRole()
663 return ax::mojom::Role::kAnchor; in ParseRole()
665 return ax::mojom::Role::kApplication; in ParseRole()
667 return ax::mojom::Role::kArticle; in ParseRole()
669 return ax::mojom::Role::kAudio; in ParseRole()
671 return ax::mojom::Role::kBanner; in ParseRole()
673 return ax::mojom::Role::kBlockquote; in ParseRole()
675 return ax::mojom::Role::kButton; in ParseRole()
677 return ax::mojom::Role::kCanvas; in ParseRole()
679 return ax::mojom::Role::kCaption; in ParseRole()
681 return ax::mojom::Role::kCaret; in ParseRole()
683 return ax::mojom::Role::kCell; in ParseRole()
685 return ax::mojom::Role::kCheckBox; in ParseRole()
687 return ax::mojom::Role::kClient; in ParseRole()
689 return ax::mojom::Role::kCode; in ParseRole()
691 return ax::mojom::Role::kColorWell; in ParseRole()
693 return ax::mojom::Role::kColumnHeader; in ParseRole()
695 return ax::mojom::Role::kColumn; in ParseRole()
697 return ax::mojom::Role::kComboBoxGrouping; in ParseRole()
699 return ax::mojom::Role::kComboBoxMenuButton; in ParseRole()
701 return ax::mojom::Role::kComment; in ParseRole()
703 return ax::mojom::Role::kComplementary; in ParseRole()
705 return ax::mojom::Role::kContentDeletion; in ParseRole()
707 return ax::mojom::Role::kContentInsertion; in ParseRole()
709 return ax::mojom::Role::kContentInfo; in ParseRole()
711 return ax::mojom::Role::kDate; in ParseRole()
713 return ax::mojom::Role::kDateTime; in ParseRole()
715 return ax::mojom::Role::kDefinition; in ParseRole()
717 return ax::mojom::Role::kDescriptionListDetail; in ParseRole()
719 return ax::mojom::Role::kDescriptionList; in ParseRole()
721 return ax::mojom::Role::kDescriptionListTerm; in ParseRole()
723 return ax::mojom::Role::kDesktop; in ParseRole()
725 return ax::mojom::Role::kDetails; in ParseRole()
727 return ax::mojom::Role::kDialog; in ParseRole()
729 return ax::mojom::Role::kDirectory; in ParseRole()
731 return ax::mojom::Role::kDisclosureTriangle; in ParseRole()
733 return ax::mojom::Role::kDocAbstract; in ParseRole()
735 return ax::mojom::Role::kDocAcknowledgments; in ParseRole()
737 return ax::mojom::Role::kDocAfterword; in ParseRole()
739 return ax::mojom::Role::kDocAppendix; in ParseRole()
741 return ax::mojom::Role::kDocBackLink; in ParseRole()
743 return ax::mojom::Role::kDocBiblioEntry; in ParseRole()
745 return ax::mojom::Role::kDocBibliography; in ParseRole()
747 return ax::mojom::Role::kDocBiblioRef; in ParseRole()
749 return ax::mojom::Role::kDocChapter; in ParseRole()
751 return ax::mojom::Role::kDocColophon; in ParseRole()
753 return ax::mojom::Role::kDocConclusion; in ParseRole()
755 return ax::mojom::Role::kDocCover; in ParseRole()
757 return ax::mojom::Role::kDocCredit; in ParseRole()
759 return ax::mojom::Role::kDocCredits; in ParseRole()
761 return ax::mojom::Role::kDocDedication; in ParseRole()
763 return ax::mojom::Role::kDocEndnote; in ParseRole()
765 return ax::mojom::Role::kDocEndnotes; in ParseRole()
767 return ax::mojom::Role::kDocEpigraph; in ParseRole()
769 return ax::mojom::Role::kDocEpilogue; in ParseRole()
771 return ax::mojom::Role::kDocErrata; in ParseRole()
773 return ax::mojom::Role::kDocExample; in ParseRole()
775 return ax::mojom::Role::kDocFootnote; in ParseRole()
777 return ax::mojom::Role::kDocForeword; in ParseRole()
779 return ax::mojom::Role::kDocGlossary; in ParseRole()
781 return ax::mojom::Role::kDocGlossRef; in ParseRole()
783 return ax::mojom::Role::kDocIndex; in ParseRole()
785 return ax::mojom::Role::kDocIntroduction; in ParseRole()
787 return ax::mojom::Role::kDocNoteRef; in ParseRole()
789 return ax::mojom::Role::kDocNotice; in ParseRole()
791 return ax::mojom::Role::kDocPageBreak; in ParseRole()
793 return ax::mojom::Role::kDocPageList; in ParseRole()
795 return ax::mojom::Role::kDocPart; in ParseRole()
797 return ax::mojom::Role::kDocPreface; in ParseRole()
799 return ax::mojom::Role::kDocPrologue; in ParseRole()
801 return ax::mojom::Role::kDocPullquote; in ParseRole()
803 return ax::mojom::Role::kDocQna; in ParseRole()
805 return ax::mojom::Role::kDocSubtitle; in ParseRole()
807 return ax::mojom::Role::kDocTip; in ParseRole()
809 return ax::mojom::Role::kDocToc; in ParseRole()
811 return ax::mojom::Role::kDocument; in ParseRole()
813 return ax::mojom::Role::kEmbeddedObject; in ParseRole()
815 return ax::mojom::Role::kEmphasis; in ParseRole()
817 return ax::mojom::Role::kFeed; in ParseRole()
819 return ax::mojom::Role::kFigcaption; in ParseRole()
821 return ax::mojom::Role::kFigure; in ParseRole()
823 return ax::mojom::Role::kFooter; in ParseRole()
825 return ax::mojom::Role::kFooterAsNonLandmark; in ParseRole()
827 return ax::mojom::Role::kForm; in ParseRole()
829 return ax::mojom::Role::kGenericContainer; in ParseRole()
831 return ax::mojom::Role::kGraphicsDocument; in ParseRole()
833 return ax::mojom::Role::kGraphicsObject; in ParseRole()
835 return ax::mojom::Role::kGraphicsSymbol; in ParseRole()
837 return ax::mojom::Role::kGrid; in ParseRole()
839 return ax::mojom::Role::kGroup; in ParseRole()
841 return ax::mojom::Role::kHeading; in ParseRole()
843 return ax::mojom::Role::kHeader; in ParseRole()
845 return ax::mojom::Role::kHeaderAsNonLandmark; in ParseRole()
847 return ax::mojom::Role::kPdfActionableHighlight; in ParseRole()
849 return ax::mojom::Role::kIframe; in ParseRole()
851 return ax::mojom::Role::kIframePresentational; in ParseRole()
853 return ax::mojom::Role::kIgnored; in ParseRole()
855 return ax::mojom::Role::kImageMap; in ParseRole()
857 return ax::mojom::Role::kImage; in ParseRole()
859 return ax::mojom::Role::kInlineTextBox; in ParseRole()
861 return ax::mojom::Role::kInputTime; in ParseRole()
863 return ax::mojom::Role::kKeyboard; in ParseRole()
865 return ax::mojom::Role::kLabelText; in ParseRole()
867 return ax::mojom::Role::kLayoutTable; in ParseRole()
869 return ax::mojom::Role::kLayoutTableCell; in ParseRole()
871 return ax::mojom::Role::kLayoutTableRow; in ParseRole()
873 return ax::mojom::Role::kLegend; in ParseRole()
875 return ax::mojom::Role::kLineBreak; in ParseRole()
877 return ax::mojom::Role::kLink; in ParseRole()
879 return ax::mojom::Role::kListBoxOption; in ParseRole()
881 return ax::mojom::Role::kListBox; in ParseRole()
883 return ax::mojom::Role::kListGrid; in ParseRole()
885 return ax::mojom::Role::kListItem; in ParseRole()
887 return ax::mojom::Role::kListMarker; in ParseRole()
889 return ax::mojom::Role::kList; in ParseRole()
891 return ax::mojom::Role::kLog; in ParseRole()
893 return ax::mojom::Role::kMain; in ParseRole()
895 return ax::mojom::Role::kMark; in ParseRole()
897 return ax::mojom::Role::kMarquee; in ParseRole()
899 return ax::mojom::Role::kMath; in ParseRole()
901 return ax::mojom::Role::kMenu; in ParseRole()
903 return ax::mojom::Role::kMenuBar; in ParseRole()
905 return ax::mojom::Role::kMenuButton; in ParseRole()
907 return ax::mojom::Role::kMenuItem; in ParseRole()
909 return ax::mojom::Role::kMenuItemCheckBox; in ParseRole()
911 return ax::mojom::Role::kMenuItemRadio; in ParseRole()
913 return ax::mojom::Role::kMenuListOption; in ParseRole()
915 return ax::mojom::Role::kMenuListPopup; in ParseRole()
917 return ax::mojom::Role::kMeter; in ParseRole()
919 return ax::mojom::Role::kNavigation; in ParseRole()
921 return ax::mojom::Role::kNote; in ParseRole()
923 return ax::mojom::Role::kPane; in ParseRole()
925 return ax::mojom::Role::kParagraph; in ParseRole()
927 return ax::mojom::Role::kPluginObject; in ParseRole()
929 return ax::mojom::Role::kPopUpButton; in ParseRole()
931 return ax::mojom::Role::kPortal; in ParseRole()
933 return ax::mojom::Role::kPre; in ParseRole()
935 return ax::mojom::Role::kPresentational; in ParseRole()
937 return ax::mojom::Role::kProgressIndicator; in ParseRole()
939 return ax::mojom::Role::kRadioButton; in ParseRole()
941 return ax::mojom::Role::kRadioGroup; in ParseRole()
943 return ax::mojom::Role::kRegion; in ParseRole()
945 return ax::mojom::Role::kRootWebArea; in ParseRole()
947 return ax::mojom::Role::kRow; in ParseRole()
949 return ax::mojom::Role::kRowGroup; in ParseRole()
951 return ax::mojom::Role::kRowHeader; in ParseRole()
953 return ax::mojom::Role::kRuby; in ParseRole()
955 return ax::mojom::Role::kRubyAnnotation; in ParseRole()
957 return ax::mojom::Role::kSection; in ParseRole()
959 return ax::mojom::Role::kScrollBar; in ParseRole()
961 return ax::mojom::Role::kScrollView; in ParseRole()
963 return ax::mojom::Role::kSearch; in ParseRole()
965 return ax::mojom::Role::kSearchBox; in ParseRole()
967 return ax::mojom::Role::kSlider; in ParseRole()
969 return ax::mojom::Role::kSliderThumb; in ParseRole()
971 return ax::mojom::Role::kSpinButton; in ParseRole()
973 return ax::mojom::Role::kSplitter; in ParseRole()
975 return ax::mojom::Role::kStaticText; in ParseRole()
977 return ax::mojom::Role::kStatus; in ParseRole()
979 return ax::mojom::Role::kSuggestion; in ParseRole()
981 return ax::mojom::Role::kSvgRoot; in ParseRole()
983 return ax::mojom::Role::kSwitch; in ParseRole()
985 return ax::mojom::Role::kStrong; in ParseRole()
987 return ax::mojom::Role::kTabList; in ParseRole()
989 return ax::mojom::Role::kTabPanel; in ParseRole()
991 return ax::mojom::Role::kTab; in ParseRole()
993 return ax::mojom::Role::kTableHeaderContainer; in ParseRole()
995 return ax::mojom::Role::kTable; in ParseRole()
997 return ax::mojom::Role::kTerm; in ParseRole()
999 return ax::mojom::Role::kTextField; in ParseRole()
1001 return ax::mojom::Role::kTextFieldWithComboBox; in ParseRole()
1003 return ax::mojom::Role::kTime; in ParseRole()
1005 return ax::mojom::Role::kTimer; in ParseRole()
1007 return ax::mojom::Role::kTitleBar; in ParseRole()
1009 return ax::mojom::Role::kToggleButton; in ParseRole()
1011 return ax::mojom::Role::kToolbar; in ParseRole()
1013 return ax::mojom::Role::kTreeGrid; in ParseRole()
1015 return ax::mojom::Role::kTreeItem; in ParseRole()
1017 return ax::mojom::Role::kTree; in ParseRole()
1019 return ax::mojom::Role::kUnknown; in ParseRole()
1021 return ax::mojom::Role::kTooltip; in ParseRole()
1023 return ax::mojom::Role::kVideo; in ParseRole()
1025 return ax::mojom::Role::kWebArea; in ParseRole()
1027 return ax::mojom::Role::kWebView; in ParseRole()
1029 return ax::mojom::Role::kWindow; in ParseRole()
1030 return ax::mojom::Role::kNone; in ParseRole()
1033 const char* ToString(ax::mojom::State state) { in ToString()
1035 case ax::mojom::State::kNone: in ToString()
1037 case ax::mojom::State::kAutofillAvailable: in ToString()
1039 case ax::mojom::State::kCollapsed: in ToString()
1041 case ax::mojom::State::kDefault: in ToString()
1043 case ax::mojom::State::kEditable: in ToString()
1045 case ax::mojom::State::kExpanded: in ToString()
1047 case ax::mojom::State::kFocusable: in ToString()
1049 case ax::mojom::State::kHorizontal: in ToString()
1051 case ax::mojom::State::kHovered: in ToString()
1053 case ax::mojom::State::kIgnored: in ToString()
1055 case ax::mojom::State::kInvisible: in ToString()
1057 case ax::mojom::State::kLinked: in ToString()
1059 case ax::mojom::State::kMultiline: in ToString()
1061 case ax::mojom::State::kMultiselectable: in ToString()
1063 case ax::mojom::State::kProtected: in ToString()
1065 case ax::mojom::State::kRequired: in ToString()
1067 case ax::mojom::State::kRichlyEditable: in ToString()
1069 case ax::mojom::State::kVertical: in ToString()
1071 case ax::mojom::State::kVisited: in ToString()
1078 ax::mojom::State ParseState(const char* state) { in ParseState()
1080 return ax::mojom::State::kNone; in ParseState()
1082 return ax::mojom::State::kAutofillAvailable; in ParseState()
1084 return ax::mojom::State::kCollapsed; in ParseState()
1086 return ax::mojom::State::kDefault; in ParseState()
1088 return ax::mojom::State::kEditable; in ParseState()
1090 return ax::mojom::State::kExpanded; in ParseState()
1092 return ax::mojom::State::kFocusable; in ParseState()
1094 return ax::mojom::State::kHorizontal; in ParseState()
1096 return ax::mojom::State::kHovered; in ParseState()
1098 return ax::mojom::State::kIgnored; in ParseState()
1100 return ax::mojom::State::kInvisible; in ParseState()
1102 return ax::mojom::State::kLinked; in ParseState()
1104 return ax::mojom::State::kMultiline; in ParseState()
1106 return ax::mojom::State::kMultiselectable; in ParseState()
1108 return ax::mojom::State::kProtected; in ParseState()
1110 return ax::mojom::State::kRequired; in ParseState()
1112 return ax::mojom::State::kRichlyEditable; in ParseState()
1114 return ax::mojom::State::kVertical; in ParseState()
1116 return ax::mojom::State::kVisited; in ParseState()
1117 return ax::mojom::State::kNone; in ParseState()
1120 const char* ToString(ax::mojom::Action action) { in ToString()
1122 case ax::mojom::Action::kNone: in ToString()
1124 case ax::mojom::Action::kBlur: in ToString()
1126 case ax::mojom::Action::kClearAccessibilityFocus: in ToString()
1128 case ax::mojom::Action::kCollapse: in ToString()
1130 case ax::mojom::Action::kCustomAction: in ToString()
1132 case ax::mojom::Action::kDecrement: in ToString()
1134 case ax::mojom::Action::kDoDefault: in ToString()
1136 case ax::mojom::Action::kExpand: in ToString()
1138 case ax::mojom::Action::kFocus: in ToString()
1140 case ax::mojom::Action::kGetImageData: in ToString()
1142 case ax::mojom::Action::kHitTest: in ToString()
1144 case ax::mojom::Action::kIncrement: in ToString()
1146 case ax::mojom::Action::kLoadInlineTextBoxes: in ToString()
1148 case ax::mojom::Action::kReplaceSelectedText: in ToString()
1150 case ax::mojom::Action::kScrollBackward: in ToString()
1152 case ax::mojom::Action::kScrollForward: in ToString()
1154 case ax::mojom::Action::kScrollUp: in ToString()
1156 case ax::mojom::Action::kScrollDown: in ToString()
1158 case ax::mojom::Action::kScrollLeft: in ToString()
1160 case ax::mojom::Action::kScrollRight: in ToString()
1162 case ax::mojom::Action::kScrollToMakeVisible: in ToString()
1164 case ax::mojom::Action::kScrollToPoint: in ToString()
1166 case ax::mojom::Action::kSetAccessibilityFocus: in ToString()
1168 case ax::mojom::Action::kSetScrollOffset: in ToString()
1170 case ax::mojom::Action::kSetSelection: in ToString()
1172 case ax::mojom::Action::kSetSequentialFocusNavigationStartingPoint: in ToString()
1174 case ax::mojom::Action::kSetValue: in ToString()
1176 case ax::mojom::Action::kShowContextMenu: in ToString()
1178 case ax::mojom::Action::kGetTextLocation: in ToString()
1180 case ax::mojom::Action::kAnnotatePageImages: in ToString()
1182 case ax::mojom::Action::kSignalEndOfTest: in ToString()
1184 case ax::mojom::Action::kShowTooltip: in ToString()
1186 case ax::mojom::Action::kHideTooltip: in ToString()
1188 case ax::mojom::Action::kInternalInvalidateTree: in ToString()
1195 ax::mojom::Action ParseAction(const char* action) { in ParseAction()
1197 return ax::mojom::Action::kNone; in ParseAction()
1199 return ax::mojom::Action::kAnnotatePageImages; in ParseAction()
1201 return ax::mojom::Action::kBlur; in ParseAction()
1203 return ax::mojom::Action::kClearAccessibilityFocus; in ParseAction()
1205 return ax::mojom::Action::kCollapse; in ParseAction()
1207 return ax::mojom::Action::kCustomAction; in ParseAction()
1209 return ax::mojom::Action::kDecrement; in ParseAction()
1211 return ax::mojom::Action::kDoDefault; in ParseAction()
1213 return ax::mojom::Action::kExpand; in ParseAction()
1215 return ax::mojom::Action::kFocus; in ParseAction()
1217 return ax::mojom::Action::kGetImageData; in ParseAction()
1219 return ax::mojom::Action::kGetTextLocation; in ParseAction()
1221 return ax::mojom::Action::kHitTest; in ParseAction()
1223 return ax::mojom::Action::kIncrement; in ParseAction()
1225 return ax::mojom::Action::kLoadInlineTextBoxes; in ParseAction()
1227 return ax::mojom::Action::kReplaceSelectedText; in ParseAction()
1229 return ax::mojom::Action::kScrollBackward; in ParseAction()
1231 return ax::mojom::Action::kScrollForward; in ParseAction()
1233 return ax::mojom::Action::kScrollUp; in ParseAction()
1235 return ax::mojom::Action::kScrollDown; in ParseAction()
1237 return ax::mojom::Action::kScrollLeft; in ParseAction()
1239 return ax::mojom::Action::kScrollRight; in ParseAction()
1241 return ax::mojom::Action::kScrollToMakeVisible; in ParseAction()
1243 return ax::mojom::Action::kScrollToPoint; in ParseAction()
1245 return ax::mojom::Action::kSetAccessibilityFocus; in ParseAction()
1247 return ax::mojom::Action::kSetScrollOffset; in ParseAction()
1249 return ax::mojom::Action::kSetSelection; in ParseAction()
1251 return ax::mojom::Action::kSetSequentialFocusNavigationStartingPoint; in ParseAction()
1253 return ax::mojom::Action::kSetValue; in ParseAction()
1255 return ax::mojom::Action::kShowContextMenu; in ParseAction()
1257 return ax::mojom::Action::kSignalEndOfTest; in ParseAction()
1259 return ax::mojom::Action::kShowTooltip; in ParseAction()
1261 return ax::mojom::Action::kHideTooltip; in ParseAction()
1263 return ax::mojom::Action::kInternalInvalidateTree; in ParseAction()
1264 return ax::mojom::Action::kNone; in ParseAction()
1267 const char* ToString(ax::mojom::ActionFlags action_flags) { in ToString()
1269 case ax::mojom::ActionFlags::kNone: in ToString()
1271 case ax::mojom::ActionFlags::kRequestImages: in ToString()
1273 case ax::mojom::ActionFlags::kRequestInlineTextBoxes: in ToString()
1280 ax::mojom::ActionFlags ParseActionFlags(const char* action_flags) { in ParseActionFlags()
1282 return ax::mojom::ActionFlags::kNone; in ParseActionFlags()
1284 return ax::mojom::ActionFlags::kRequestImages; in ParseActionFlags()
1286 return ax::mojom::ActionFlags::kRequestInlineTextBoxes; in ParseActionFlags()
1287 return ax::mojom::ActionFlags::kNone; in ParseActionFlags()
1290 const char* ToString(ax::mojom::ScrollAlignment scroll_alignment) { in ToString()
1292 case ax::mojom::ScrollAlignment::kNone: in ToString()
1294 case ax::mojom::ScrollAlignment::kScrollAlignmentCenter: in ToString()
1296 case ax::mojom::ScrollAlignment::kScrollAlignmentTop: in ToString()
1298 case ax::mojom::ScrollAlignment::kScrollAlignmentBottom: in ToString()
1300 case ax::mojom::ScrollAlignment::kScrollAlignmentLeft: in ToString()
1302 case ax::mojom::ScrollAlignment::kScrollAlignmentRight: in ToString()
1304 case ax::mojom::ScrollAlignment::kScrollAlignmentClosestEdge: in ToString()
1309 ax::mojom::ScrollAlignment ParseScrollAlignment(const char* scroll_alignment) { in ParseScrollAlignment()
1311 return ax::mojom::ScrollAlignment::kNone; in ParseScrollAlignment()
1313 return ax::mojom::ScrollAlignment::kScrollAlignmentCenter; in ParseScrollAlignment()
1315 return ax::mojom::ScrollAlignment::kScrollAlignmentTop; in ParseScrollAlignment()
1317 return ax::mojom::ScrollAlignment::kScrollAlignmentBottom; in ParseScrollAlignment()
1319 return ax::mojom::ScrollAlignment::kScrollAlignmentLeft; in ParseScrollAlignment()
1321 return ax::mojom::ScrollAlignment::kScrollAlignmentRight; in ParseScrollAlignment()
1323 return ax::mojom::ScrollAlignment::kScrollAlignmentClosestEdge; in ParseScrollAlignment()
1324 return ax::mojom::ScrollAlignment::kNone; in ParseScrollAlignment()
1327 const char* ToString(ax::mojom::DefaultActionVerb default_action_verb) { in ToString()
1329 case ax::mojom::DefaultActionVerb::kNone: in ToString()
1331 case ax::mojom::DefaultActionVerb::kActivate: in ToString()
1333 case ax::mojom::DefaultActionVerb::kCheck: in ToString()
1335 case ax::mojom::DefaultActionVerb::kClick: in ToString()
1337 case ax::mojom::DefaultActionVerb::kClickAncestor: in ToString()
1339 case ax::mojom::DefaultActionVerb::kJump: in ToString()
1341 case ax::mojom::DefaultActionVerb::kOpen: in ToString()
1343 case ax::mojom::DefaultActionVerb::kPress: in ToString()
1345 case ax::mojom::DefaultActionVerb::kSelect: in ToString()
1347 case ax::mojom::DefaultActionVerb::kUncheck: in ToString()
1354 ax::mojom::DefaultActionVerb ParseDefaultActionVerb( in ParseDefaultActionVerb()
1357 return ax::mojom::DefaultActionVerb::kNone; in ParseDefaultActionVerb()
1359 return ax::mojom::DefaultActionVerb::kActivate; in ParseDefaultActionVerb()
1361 return ax::mojom::DefaultActionVerb::kCheck; in ParseDefaultActionVerb()
1363 return ax::mojom::DefaultActionVerb::kClick; in ParseDefaultActionVerb()
1365 return ax::mojom::DefaultActionVerb::kClickAncestor; in ParseDefaultActionVerb()
1367 return ax::mojom::DefaultActionVerb::kJump; in ParseDefaultActionVerb()
1369 return ax::mojom::DefaultActionVerb::kOpen; in ParseDefaultActionVerb()
1371 return ax::mojom::DefaultActionVerb::kPress; in ParseDefaultActionVerb()
1373 return ax::mojom::DefaultActionVerb::kSelect; in ParseDefaultActionVerb()
1375 return ax::mojom::DefaultActionVerb::kUncheck; in ParseDefaultActionVerb()
1376 return ax::mojom::DefaultActionVerb::kNone; in ParseDefaultActionVerb()
1379 const char* ToString(ax::mojom::Mutation mutation) { in ToString()
1381 case ax::mojom::Mutation::kNone: in ToString()
1383 case ax::mojom::Mutation::kNodeCreated: in ToString()
1385 case ax::mojom::Mutation::kSubtreeCreated: in ToString()
1387 case ax::mojom::Mutation::kNodeChanged: in ToString()
1389 case ax::mojom::Mutation::kNodeRemoved: in ToString()
1396 ax::mojom::Mutation ParseMutation(const char* mutation) { in ParseMutation()
1398 return ax::mojom::Mutation::kNone; in ParseMutation()
1400 return ax::mojom::Mutation::kNodeCreated; in ParseMutation()
1402 return ax::mojom::Mutation::kSubtreeCreated; in ParseMutation()
1404 return ax::mojom::Mutation::kNodeChanged; in ParseMutation()
1406 return ax::mojom::Mutation::kNodeRemoved; in ParseMutation()
1407 return ax::mojom::Mutation::kNone; in ParseMutation()
1410 const char* ToString(ax::mojom::StringAttribute string_attribute) { in ToString()
1412 case ax::mojom::StringAttribute::kNone: in ToString()
1414 case ax::mojom::StringAttribute::kAccessKey: in ToString()
1416 case ax::mojom::StringAttribute::kAriaInvalidValue: in ToString()
1418 case ax::mojom::StringAttribute::kAutoComplete: in ToString()
1420 case ax::mojom::StringAttribute::kChildTreeId: in ToString()
1422 case ax::mojom::StringAttribute::kClassName: in ToString()
1424 case ax::mojom::StringAttribute::kContainerLiveRelevant: in ToString()
1426 case ax::mojom::StringAttribute::kContainerLiveStatus: in ToString()
1428 case ax::mojom::StringAttribute::kDescription: in ToString()
1430 case ax::mojom::StringAttribute::kDisplay: in ToString()
1432 case ax::mojom::StringAttribute::kFontFamily: in ToString()
1434 case ax::mojom::StringAttribute::kHtmlTag: in ToString()
1436 case ax::mojom::StringAttribute::kImageAnnotation: in ToString()
1438 case ax::mojom::StringAttribute::kImageDataUrl: in ToString()
1440 case ax::mojom::StringAttribute::kInnerHtml: in ToString()
1442 case ax::mojom::StringAttribute::kInputType: in ToString()
1444 case ax::mojom::StringAttribute::kKeyShortcuts: in ToString()
1446 case ax::mojom::StringAttribute::kLanguage: in ToString()
1448 case ax::mojom::StringAttribute::kName: in ToString()
1450 case ax::mojom::StringAttribute::kLiveRelevant: in ToString()
1452 case ax::mojom::StringAttribute::kLiveStatus: in ToString()
1454 case ax::mojom::StringAttribute::kPlaceholder: in ToString()
1456 case ax::mojom::StringAttribute::kRole: in ToString()
1458 case ax::mojom::StringAttribute::kRoleDescription: in ToString()
1460 case ax::mojom::StringAttribute::kTooltip: in ToString()
1462 case ax::mojom::StringAttribute::kUrl: in ToString()
1464 case ax::mojom::StringAttribute::kValue: in ToString()
1471 ax::mojom::StringAttribute ParseStringAttribute(const char* string_attribute) { in ParseStringAttribute()
1473 return ax::mojom::StringAttribute::kNone; in ParseStringAttribute()
1475 return ax::mojom::StringAttribute::kAccessKey; in ParseStringAttribute()
1477 return ax::mojom::StringAttribute::kAriaInvalidValue; in ParseStringAttribute()
1479 return ax::mojom::StringAttribute::kAutoComplete; in ParseStringAttribute()
1481 return ax::mojom::StringAttribute::kChildTreeId; in ParseStringAttribute()
1483 return ax::mojom::StringAttribute::kClassName; in ParseStringAttribute()
1485 return ax::mojom::StringAttribute::kContainerLiveRelevant; in ParseStringAttribute()
1487 return ax::mojom::StringAttribute::kContainerLiveStatus; in ParseStringAttribute()
1489 return ax::mojom::StringAttribute::kDescription; in ParseStringAttribute()
1491 return ax::mojom::StringAttribute::kDisplay; in ParseStringAttribute()
1493 return ax::mojom::StringAttribute::kFontFamily; in ParseStringAttribute()
1495 return ax::mojom::StringAttribute::kHtmlTag; in ParseStringAttribute()
1497 return ax::mojom::StringAttribute::kImageAnnotation; in ParseStringAttribute()
1499 return ax::mojom::StringAttribute::kImageDataUrl; in ParseStringAttribute()
1501 return ax::mojom::StringAttribute::kInnerHtml; in ParseStringAttribute()
1503 return ax::mojom::StringAttribute::kInputType; in ParseStringAttribute()
1505 return ax::mojom::StringAttribute::kKeyShortcuts; in ParseStringAttribute()
1507 return ax::mojom::StringAttribute::kLanguage; in ParseStringAttribute()
1509 return ax::mojom::StringAttribute::kName; in ParseStringAttribute()
1511 return ax::mojom::StringAttribute::kLiveRelevant; in ParseStringAttribute()
1513 return ax::mojom::StringAttribute::kLiveStatus; in ParseStringAttribute()
1515 return ax::mojom::StringAttribute::kPlaceholder; in ParseStringAttribute()
1517 return ax::mojom::StringAttribute::kRole; in ParseStringAttribute()
1519 return ax::mojom::StringAttribute::kRoleDescription; in ParseStringAttribute()
1521 return ax::mojom::StringAttribute::kTooltip; in ParseStringAttribute()
1523 return ax::mojom::StringAttribute::kUrl; in ParseStringAttribute()
1525 return ax::mojom::StringAttribute::kValue; in ParseStringAttribute()
1526 return ax::mojom::StringAttribute::kNone; in ParseStringAttribute()
1529 const char* ToString(ax::mojom::IntAttribute int_attribute) { in ToString()
1531 case ax::mojom::IntAttribute::kNone: in ToString()
1533 case ax::mojom::IntAttribute::kDefaultActionVerb: in ToString()
1535 case ax::mojom::IntAttribute::kDropeffect: in ToString()
1537 case ax::mojom::IntAttribute::kScrollX: in ToString()
1539 case ax::mojom::IntAttribute::kScrollXMin: in ToString()
1541 case ax::mojom::IntAttribute::kScrollXMax: in ToString()
1543 case ax::mojom::IntAttribute::kScrollY: in ToString()
1545 case ax::mojom::IntAttribute::kScrollYMin: in ToString()
1547 case ax::mojom::IntAttribute::kScrollYMax: in ToString()
1549 case ax::mojom::IntAttribute::kTextSelStart: in ToString()
1551 case ax::mojom::IntAttribute::kTextSelEnd: in ToString()
1553 case ax::mojom::IntAttribute::kAriaColumnCount: in ToString()
1555 case ax::mojom::IntAttribute::kAriaCellColumnIndex: in ToString()
1557 case ax::mojom::IntAttribute::kAriaCellColumnSpan: in ToString()
1559 case ax::mojom::IntAttribute::kAriaRowCount: in ToString()
1561 case ax::mojom::IntAttribute::kAriaCellRowIndex: in ToString()
1563 case ax::mojom::IntAttribute::kAriaCellRowSpan: in ToString()
1565 case ax::mojom::IntAttribute::kTableRowCount: in ToString()
1567 case ax::mojom::IntAttribute::kTableColumnCount: in ToString()
1569 case ax::mojom::IntAttribute::kTableHeaderId: in ToString()
1571 case ax::mojom::IntAttribute::kTableRowIndex: in ToString()
1573 case ax::mojom::IntAttribute::kTableRowHeaderId: in ToString()
1575 case ax::mojom::IntAttribute::kTableColumnIndex: in ToString()
1577 case ax::mojom::IntAttribute::kTableColumnHeaderId: in ToString()
1579 case ax::mojom::IntAttribute::kTableCellColumnIndex: in ToString()
1581 case ax::mojom::IntAttribute::kTableCellColumnSpan: in ToString()
1583 case ax::mojom::IntAttribute::kTableCellRowIndex: in ToString()
1585 case ax::mojom::IntAttribute::kTableCellRowSpan: in ToString()
1587 case ax::mojom::IntAttribute::kSortDirection: in ToString()
1589 case ax::mojom::IntAttribute::kHierarchicalLevel: in ToString()
1591 case ax::mojom::IntAttribute::kNameFrom: in ToString()
1593 case ax::mojom::IntAttribute::kDescriptionFrom: in ToString()
1595 case ax::mojom::IntAttribute::kActivedescendantId: in ToString()
1597 case ax::mojom::IntAttribute::kErrormessageId: in ToString()
1599 case ax::mojom::IntAttribute::kInPageLinkTargetId: in ToString()
1601 case ax::mojom::IntAttribute::kMemberOfId: in ToString()
1603 case ax::mojom::IntAttribute::kNextOnLineId: in ToString()
1605 case ax::mojom::IntAttribute::kPopupForId: in ToString()
1607 case ax::mojom::IntAttribute::kPreviousOnLineId: in ToString()
1609 case ax::mojom::IntAttribute::kRestriction: in ToString()
1611 case ax::mojom::IntAttribute::kSetSize: in ToString()
1613 case ax::mojom::IntAttribute::kPosInSet: in ToString()
1615 case ax::mojom::IntAttribute::kColorValue: in ToString()
1617 case ax::mojom::IntAttribute::kAriaCurrentState: in ToString()
1619 case ax::mojom::IntAttribute::kBackgroundColor: in ToString()
1621 case ax::mojom::IntAttribute::kColor: in ToString()
1623 case ax::mojom::IntAttribute::kHasPopup: in ToString()
1625 case ax::mojom::IntAttribute::kInvalidState: in ToString()
1627 case ax::mojom::IntAttribute::kCheckedState: in ToString()
1629 case ax::mojom::IntAttribute::kListStyle: in ToString()
1631 case ax::mojom::IntAttribute::kTextDirection: in ToString()
1633 case ax::mojom::IntAttribute::kTextPosition: in ToString()
1635 case ax::mojom::IntAttribute::kTextStyle: in ToString()
1637 case ax::mojom::IntAttribute::kTextOverlineStyle: in ToString()
1639 case ax::mojom::IntAttribute::kTextStrikethroughStyle: in ToString()
1641 case ax::mojom::IntAttribute::kTextUnderlineStyle: in ToString()
1643 case ax::mojom::IntAttribute::kPreviousFocusId: in ToString()
1645 case ax::mojom::IntAttribute::kNextFocusId: in ToString()
1647 case ax::mojom::IntAttribute::kImageAnnotationStatus: in ToString()
1649 case ax::mojom::IntAttribute::kDOMNodeId: in ToString()
1656 ax::mojom::IntAttribute ParseIntAttribute(const char* int_attribute) { in ParseIntAttribute()
1658 return ax::mojom::IntAttribute::kNone; in ParseIntAttribute()
1660 return ax::mojom::IntAttribute::kDefaultActionVerb; in ParseIntAttribute()
1662 return ax::mojom::IntAttribute::kDropeffect; in ParseIntAttribute()
1664 return ax::mojom::IntAttribute::kScrollX; in ParseIntAttribute()
1666 return ax::mojom::IntAttribute::kScrollXMin; in ParseIntAttribute()
1668 return ax::mojom::IntAttribute::kScrollXMax; in ParseIntAttribute()
1670 return ax::mojom::IntAttribute::kScrollY; in ParseIntAttribute()
1672 return ax::mojom::IntAttribute::kScrollYMin; in ParseIntAttribute()
1674 return ax::mojom::IntAttribute::kScrollYMax; in ParseIntAttribute()
1676 return ax::mojom::IntAttribute::kTextSelStart; in ParseIntAttribute()
1678 return ax::mojom::IntAttribute::kTextSelEnd; in ParseIntAttribute()
1680 return ax::mojom::IntAttribute::kAriaColumnCount; in ParseIntAttribute()
1682 return ax::mojom::IntAttribute::kAriaCellColumnIndex; in ParseIntAttribute()
1684 return ax::mojom::IntAttribute::kAriaCellColumnSpan; in ParseIntAttribute()
1686 return ax::mojom::IntAttribute::kAriaRowCount; in ParseIntAttribute()
1688 return ax::mojom::IntAttribute::kAriaCellRowIndex; in ParseIntAttribute()
1690 return ax::mojom::IntAttribute::kAriaCellRowSpan; in ParseIntAttribute()
1692 return ax::mojom::IntAttribute::kTableRowCount; in ParseIntAttribute()
1694 return ax::mojom::IntAttribute::kTableColumnCount; in ParseIntAttribute()
1696 return ax::mojom::IntAttribute::kTableHeaderId; in ParseIntAttribute()
1698 return ax::mojom::IntAttribute::kTableRowIndex; in ParseIntAttribute()
1700 return ax::mojom::IntAttribute::kTableRowHeaderId; in ParseIntAttribute()
1702 return ax::mojom::IntAttribute::kTableColumnIndex; in ParseIntAttribute()
1704 return ax::mojom::IntAttribute::kTableColumnHeaderId; in ParseIntAttribute()
1706 return ax::mojom::IntAttribute::kTableCellColumnIndex; in ParseIntAttribute()
1708 return ax::mojom::IntAttribute::kTableCellColumnSpan; in ParseIntAttribute()
1710 return ax::mojom::IntAttribute::kTableCellRowIndex; in ParseIntAttribute()
1712 return ax::mojom::IntAttribute::kTableCellRowSpan; in ParseIntAttribute()
1714 return ax::mojom::IntAttribute::kSortDirection; in ParseIntAttribute()
1716 return ax::mojom::IntAttribute::kHierarchicalLevel; in ParseIntAttribute()
1718 return ax::mojom::IntAttribute::kNameFrom; in ParseIntAttribute()
1720 return ax::mojom::IntAttribute::kDescriptionFrom; in ParseIntAttribute()
1722 return ax::mojom::IntAttribute::kActivedescendantId; in ParseIntAttribute()
1724 return ax::mojom::IntAttribute::kErrormessageId; in ParseIntAttribute()
1726 return ax::mojom::IntAttribute::kInPageLinkTargetId; in ParseIntAttribute()
1728 return ax::mojom::IntAttribute::kMemberOfId; in ParseIntAttribute()
1730 return ax::mojom::IntAttribute::kNextOnLineId; in ParseIntAttribute()
1732 return ax::mojom::IntAttribute::kPopupForId; in ParseIntAttribute()
1734 return ax::mojom::IntAttribute::kPreviousOnLineId; in ParseIntAttribute()
1736 return ax::mojom::IntAttribute::kRestriction; in ParseIntAttribute()
1738 return ax::mojom::IntAttribute::kSetSize; in ParseIntAttribute()
1740 return ax::mojom::IntAttribute::kPosInSet; in ParseIntAttribute()
1742 return ax::mojom::IntAttribute::kColorValue; in ParseIntAttribute()
1744 return ax::mojom::IntAttribute::kAriaCurrentState; in ParseIntAttribute()
1746 return ax::mojom::IntAttribute::kBackgroundColor; in ParseIntAttribute()
1748 return ax::mojom::IntAttribute::kColor; in ParseIntAttribute()
1750 return ax::mojom::IntAttribute::kHasPopup; in ParseIntAttribute()
1752 return ax::mojom::IntAttribute::kInvalidState; in ParseIntAttribute()
1754 return ax::mojom::IntAttribute::kCheckedState; in ParseIntAttribute()
1756 return ax::mojom::IntAttribute::kListStyle; in ParseIntAttribute()
1758 return ax::mojom::IntAttribute::kTextDirection; in ParseIntAttribute()
1760 return ax::mojom::IntAttribute::kTextPosition; in ParseIntAttribute()
1762 return ax::mojom::IntAttribute::kTextStyle; in ParseIntAttribute()
1764 return ax::mojom::IntAttribute::kTextOverlineStyle; in ParseIntAttribute()
1766 return ax::mojom::IntAttribute::kTextStrikethroughStyle; in ParseIntAttribute()
1768 return ax::mojom::IntAttribute::kTextUnderlineStyle; in ParseIntAttribute()
1770 return ax::mojom::IntAttribute::kPreviousFocusId; in ParseIntAttribute()
1772 return ax::mojom::IntAttribute::kNextFocusId; in ParseIntAttribute()
1774 return ax::mojom::IntAttribute::kImageAnnotationStatus; in ParseIntAttribute()
1776 return ax::mojom::IntAttribute::kDOMNodeId; in ParseIntAttribute()
1777 return ax::mojom::IntAttribute::kNone; in ParseIntAttribute()
1780 const char* ToString(ax::mojom::FloatAttribute float_attribute) { in ToString()
1782 case ax::mojom::FloatAttribute::kNone: in ToString()
1784 case ax::mojom::FloatAttribute::kValueForRange: in ToString()
1786 case ax::mojom::FloatAttribute::kMinValueForRange: in ToString()
1788 case ax::mojom::FloatAttribute::kMaxValueForRange: in ToString()
1790 case ax::mojom::FloatAttribute::kStepValueForRange: in ToString()
1792 case ax::mojom::FloatAttribute::kFontSize: in ToString()
1794 case ax::mojom::FloatAttribute::kFontWeight: in ToString()
1801 ax::mojom::FloatAttribute ParseFloatAttribute(const char* float_attribute) { in ParseFloatAttribute()
1803 return ax::mojom::FloatAttribute::kNone; in ParseFloatAttribute()
1805 return ax::mojom::FloatAttribute::kValueForRange; in ParseFloatAttribute()
1807 return ax::mojom::FloatAttribute::kMinValueForRange; in ParseFloatAttribute()
1809 return ax::mojom::FloatAttribute::kMaxValueForRange; in ParseFloatAttribute()
1811 return ax::mojom::FloatAttribute::kStepValueForRange; in ParseFloatAttribute()
1813 return ax::mojom::FloatAttribute::kFontSize; in ParseFloatAttribute()
1815 return ax::mojom::FloatAttribute::kFontWeight; in ParseFloatAttribute()
1816 return ax::mojom::FloatAttribute::kNone; in ParseFloatAttribute()
1819 const char* ToString(ax::mojom::BoolAttribute bool_attribute) { in ToString()
1821 case ax::mojom::BoolAttribute::kNone: in ToString()
1823 case ax::mojom::BoolAttribute::kBusy: in ToString()
1825 case ax::mojom::BoolAttribute::kEditableRoot: in ToString()
1827 case ax::mojom::BoolAttribute::kContainerLiveAtomic: in ToString()
1829 case ax::mojom::BoolAttribute::kContainerLiveBusy: in ToString()
1831 case ax::mojom::BoolAttribute::kGrabbed: in ToString()
1833 case ax::mojom::BoolAttribute::kLiveAtomic: in ToString()
1835 case ax::mojom::BoolAttribute::kModal: in ToString()
1837 case ax::mojom::BoolAttribute::kUpdateLocationOnly: in ToString()
1839 case ax::mojom::BoolAttribute::kCanvasHasFallback: in ToString()
1841 case ax::mojom::BoolAttribute::kScrollable: in ToString()
1843 case ax::mojom::BoolAttribute::kClickable: in ToString()
1845 case ax::mojom::BoolAttribute::kClipsChildren: in ToString()
1847 case ax::mojom::BoolAttribute::kSelected: in ToString()
1849 case ax::mojom::BoolAttribute::kSupportsTextLocation: in ToString()
1851 case ax::mojom::BoolAttribute::kIsLineBreakingObject: in ToString()
1853 case ax::mojom::BoolAttribute::kIsPageBreakingObject: in ToString()
1855 case ax::mojom::BoolAttribute::kHasAriaAttribute: in ToString()
1862 ax::mojom::BoolAttribute ParseBoolAttribute(const char* bool_attribute) { in ParseBoolAttribute()
1864 return ax::mojom::BoolAttribute::kNone; in ParseBoolAttribute()
1866 return ax::mojom::BoolAttribute::kBusy; in ParseBoolAttribute()
1868 return ax::mojom::BoolAttribute::kEditableRoot; in ParseBoolAttribute()
1870 return ax::mojom::BoolAttribute::kContainerLiveAtomic; in ParseBoolAttribute()
1872 return ax::mojom::BoolAttribute::kContainerLiveBusy; in ParseBoolAttribute()
1874 return ax::mojom::BoolAttribute::kGrabbed; in ParseBoolAttribute()
1876 return ax::mojom::BoolAttribute::kLiveAtomic; in ParseBoolAttribute()
1878 return ax::mojom::BoolAttribute::kModal; in ParseBoolAttribute()
1880 return ax::mojom::BoolAttribute::kUpdateLocationOnly; in ParseBoolAttribute()
1882 return ax::mojom::BoolAttribute::kCanvasHasFallback; in ParseBoolAttribute()
1884 return ax::mojom::BoolAttribute::kScrollable; in ParseBoolAttribute()
1886 return ax::mojom::BoolAttribute::kClickable; in ParseBoolAttribute()
1888 return ax::mojom::BoolAttribute::kClipsChildren; in ParseBoolAttribute()
1890 return ax::mojom::BoolAttribute::kSelected; in ParseBoolAttribute()
1892 return ax::mojom::BoolAttribute::kSupportsTextLocation; in ParseBoolAttribute()
1894 return ax::mojom::BoolAttribute::kIsLineBreakingObject; in ParseBoolAttribute()
1896 return ax::mojom::BoolAttribute::kIsPageBreakingObject; in ParseBoolAttribute()
1898 return ax::mojom::BoolAttribute::kHasAriaAttribute; in ParseBoolAttribute()
1899 return ax::mojom::BoolAttribute::kNone; in ParseBoolAttribute()
1902 const char* ToString(ax::mojom::IntListAttribute int_list_attribute) { in ToString()
1904 case ax::mojom::IntListAttribute::kNone: in ToString()
1906 case ax::mojom::IntListAttribute::kIndirectChildIds: in ToString()
1908 case ax::mojom::IntListAttribute::kControlsIds: in ToString()
1910 case ax::mojom::IntListAttribute::kDetailsIds: in ToString()
1912 case ax::mojom::IntListAttribute::kDescribedbyIds: in ToString()
1914 case ax::mojom::IntListAttribute::kFlowtoIds: in ToString()
1916 case ax::mojom::IntListAttribute::kLabelledbyIds: in ToString()
1918 case ax::mojom::IntListAttribute::kRadioGroupIds: in ToString()
1920 case ax::mojom::IntListAttribute::kMarkerTypes: in ToString()
1922 case ax::mojom::IntListAttribute::kMarkerStarts: in ToString()
1924 case ax::mojom::IntListAttribute::kMarkerEnds: in ToString()
1926 case ax::mojom::IntListAttribute::kCharacterOffsets: in ToString()
1928 case ax::mojom::IntListAttribute::kCachedLineStarts: in ToString()
1930 case ax::mojom::IntListAttribute::kWordStarts: in ToString()
1932 case ax::mojom::IntListAttribute::kWordEnds: in ToString()
1934 case ax::mojom::IntListAttribute::kCustomActionIds: in ToString()
1941 ax::mojom::IntListAttribute ParseIntListAttribute( in ParseIntListAttribute()
1944 return ax::mojom::IntListAttribute::kNone; in ParseIntListAttribute()
1946 return ax::mojom::IntListAttribute::kIndirectChildIds; in ParseIntListAttribute()
1948 return ax::mojom::IntListAttribute::kControlsIds; in ParseIntListAttribute()
1950 return ax::mojom::IntListAttribute::kDetailsIds; in ParseIntListAttribute()
1952 return ax::mojom::IntListAttribute::kDescribedbyIds; in ParseIntListAttribute()
1954 return ax::mojom::IntListAttribute::kFlowtoIds; in ParseIntListAttribute()
1956 return ax::mojom::IntListAttribute::kLabelledbyIds; in ParseIntListAttribute()
1958 return ax::mojom::IntListAttribute::kRadioGroupIds; in ParseIntListAttribute()
1960 return ax::mojom::IntListAttribute::kMarkerTypes; in ParseIntListAttribute()
1962 return ax::mojom::IntListAttribute::kMarkerStarts; in ParseIntListAttribute()
1964 return ax::mojom::IntListAttribute::kMarkerEnds; in ParseIntListAttribute()
1966 return ax::mojom::IntListAttribute::kCharacterOffsets; in ParseIntListAttribute()
1968 return ax::mojom::IntListAttribute::kCachedLineStarts; in ParseIntListAttribute()
1970 return ax::mojom::IntListAttribute::kWordStarts; in ParseIntListAttribute()
1972 return ax::mojom::IntListAttribute::kWordEnds; in ParseIntListAttribute()
1974 return ax::mojom::IntListAttribute::kCustomActionIds; in ParseIntListAttribute()
1975 return ax::mojom::IntListAttribute::kNone; in ParseIntListAttribute()
1978 const char* ToString(ax::mojom::StringListAttribute string_list_attribute) { in ToString()
1980 case ax::mojom::StringListAttribute::kNone: in ToString()
1982 case ax::mojom::StringListAttribute::kCustomActionDescriptions: in ToString()
1989 ax::mojom::StringListAttribute ParseStringListAttribute( in ParseStringListAttribute()
1992 return ax::mojom::StringListAttribute::kNone; in ParseStringListAttribute()
1994 return ax::mojom::StringListAttribute::kCustomActionDescriptions; in ParseStringListAttribute()
1995 return ax::mojom::StringListAttribute::kNone; in ParseStringListAttribute()
1998 const char* ToString(ax::mojom::ListStyle list_style) { in ToString()
2000 case ax::mojom::ListStyle::kNone: in ToString()
2002 case ax::mojom::ListStyle::kCircle: in ToString()
2004 case ax::mojom::ListStyle::kDisc: in ToString()
2006 case ax::mojom::ListStyle::kImage: in ToString()
2008 case ax::mojom::ListStyle::kNumeric: in ToString()
2010 case ax::mojom::ListStyle::kOther: in ToString()
2012 case ax::mojom::ListStyle::kSquare: in ToString()
2019 ax::mojom::ListStyle ParseListStyle(const char* list_style) { in ParseListStyle()
2021 return ax::mojom::ListStyle::kNone; in ParseListStyle()
2023 return ax::mojom::ListStyle::kCircle; in ParseListStyle()
2025 return ax::mojom::ListStyle::kDisc; in ParseListStyle()
2027 return ax::mojom::ListStyle::kImage; in ParseListStyle()
2029 return ax::mojom::ListStyle::kNumeric; in ParseListStyle()
2031 return ax::mojom::ListStyle::kOther; in ParseListStyle()
2033 return ax::mojom::ListStyle::kSquare; in ParseListStyle()
2034 return ax::mojom::ListStyle::kNone; in ParseListStyle()
2037 const char* ToString(ax::mojom::MarkerType marker_type) { in ToString()
2039 case ax::mojom::MarkerType::kNone: in ToString()
2041 case ax::mojom::MarkerType::kSpelling: in ToString()
2043 case ax::mojom::MarkerType::kGrammar: in ToString()
2045 case ax::mojom::MarkerType::kTextMatch: in ToString()
2047 case ax::mojom::MarkerType::kActiveSuggestion: in ToString()
2049 case ax::mojom::MarkerType::kSuggestion: in ToString()
2056 ax::mojom::MarkerType ParseMarkerType(const char* marker_type) { in ParseMarkerType()
2058 return ax::mojom::MarkerType::kNone; in ParseMarkerType()
2060 return ax::mojom::MarkerType::kSpelling; in ParseMarkerType()
2062 return ax::mojom::MarkerType::kGrammar; in ParseMarkerType()
2064 return ax::mojom::MarkerType::kTextMatch; in ParseMarkerType()
2066 return ax::mojom::MarkerType::kActiveSuggestion; in ParseMarkerType()
2068 return ax::mojom::MarkerType::kSuggestion; in ParseMarkerType()
2069 return ax::mojom::MarkerType::kNone; in ParseMarkerType()
2072 const char* ToString(ax::mojom::MoveDirection move_direction) { in ToString()
2074 case ax::mojom::MoveDirection::kForward: in ToString()
2076 case ax::mojom::MoveDirection::kBackward: in ToString()
2083 ax::mojom::MoveDirection ParseMoveDirection(const char* move_direction) { in ParseMoveDirection()
2085 return ax::mojom::MoveDirection::kForward; in ParseMoveDirection()
2087 return ax::mojom::MoveDirection::kBackward; in ParseMoveDirection()
2088 return ax::mojom::MoveDirection::kForward; in ParseMoveDirection()
2091 const char* ToString(ax::mojom::EditCommand edit_command) { in ToString()
2093 case ax::mojom::EditCommand::kType: in ToString()
2095 case ax::mojom::EditCommand::kCut: in ToString()
2097 case ax::mojom::EditCommand::kDelete: in ToString()
2099 case ax::mojom::EditCommand::kDictate: in ToString()
2101 case ax::mojom::EditCommand::kFormat: in ToString()
2103 case ax::mojom::EditCommand::kInsert: in ToString()
2105 case ax::mojom::EditCommand::kMarker: in ToString()
2107 case ax::mojom::EditCommand::kPaste: in ToString()
2109 case ax::mojom::EditCommand::kReplace: in ToString()
2116 ax::mojom::EditCommand ParseEditCommand(const char* edit_command) { in ParseEditCommand()
2118 return ax::mojom::EditCommand::kType; in ParseEditCommand()
2120 return ax::mojom::EditCommand::kCut; in ParseEditCommand()
2122 return ax::mojom::EditCommand::kDelete; in ParseEditCommand()
2124 return ax::mojom::EditCommand::kDictate; in ParseEditCommand()
2126 return ax::mojom::EditCommand::kFormat; in ParseEditCommand()
2128 return ax::mojom::EditCommand::kInsert; in ParseEditCommand()
2130 return ax::mojom::EditCommand::kMarker; in ParseEditCommand()
2132 return ax::mojom::EditCommand::kPaste; in ParseEditCommand()
2134 return ax::mojom::EditCommand::kReplace; in ParseEditCommand()
2135 return ax::mojom::EditCommand::kType; in ParseEditCommand()
2138 const char* ToString(ax::mojom::SelectionCommand selection_command) { in ToString()
2140 case ax::mojom::SelectionCommand::kSet: in ToString()
2142 case ax::mojom::SelectionCommand::kClear: in ToString()
2144 case ax::mojom::SelectionCommand::kShrink: in ToString()
2146 case ax::mojom::SelectionCommand::kExtend: in ToString()
2153 ax::mojom::SelectionCommand ParseSelectionCommand( in ParseSelectionCommand()
2156 return ax::mojom::SelectionCommand::kSet; in ParseSelectionCommand()
2158 return ax::mojom::SelectionCommand::kClear; in ParseSelectionCommand()
2160 return ax::mojom::SelectionCommand::kShrink; in ParseSelectionCommand()
2162 return ax::mojom::SelectionCommand::kExtend; in ParseSelectionCommand()
2163 return ax::mojom::SelectionCommand::kSet; in ParseSelectionCommand()
2166 const char* ToString(ax::mojom::TextBoundary text_boundary) { in ToString()
2168 case ax::mojom::TextBoundary::kCharacter: in ToString()
2170 case ax::mojom::TextBoundary::kFormat: in ToString()
2172 case ax::mojom::TextBoundary::kLineEnd: in ToString()
2174 case ax::mojom::TextBoundary::kLineStart: in ToString()
2176 case ax::mojom::TextBoundary::kLineStartOrEnd: in ToString()
2178 case ax::mojom::TextBoundary::kObject: in ToString()
2180 case ax::mojom::TextBoundary::kPageEnd: in ToString()
2182 case ax::mojom::TextBoundary::kPageStart: in ToString()
2184 case ax::mojom::TextBoundary::kPageStartOrEnd: in ToString()
2186 case ax::mojom::TextBoundary::kParagraphEnd: in ToString()
2188 case ax::mojom::TextBoundary::kParagraphStart: in ToString()
2190 case ax::mojom::TextBoundary::kParagraphStartOrEnd: in ToString()
2192 case ax::mojom::TextBoundary::kSentenceEnd: in ToString()
2194 case ax::mojom::TextBoundary::kSentenceStart: in ToString()
2196 case ax::mojom::TextBoundary::kSentenceStartOrEnd: in ToString()
2198 case ax::mojom::TextBoundary::kWebPage: in ToString()
2200 case ax::mojom::TextBoundary::kWordEnd: in ToString()
2202 case ax::mojom::TextBoundary::kWordStart: in ToString()
2204 case ax::mojom::TextBoundary::kWordStartOrEnd: in ToString()
2211 ax::mojom::TextBoundary ParseTextBoundary(const char* text_boundary) { in ParseTextBoundary()
2213 return ax::mojom::TextBoundary::kObject; in ParseTextBoundary()
2215 return ax::mojom::TextBoundary::kCharacter; in ParseTextBoundary()
2217 return ax::mojom::TextBoundary::kFormat; in ParseTextBoundary()
2219 return ax::mojom::TextBoundary::kLineEnd; in ParseTextBoundary()
2221 return ax::mojom::TextBoundary::kLineStart; in ParseTextBoundary()
2223 return ax::mojom::TextBoundary::kLineStartOrEnd; in ParseTextBoundary()
2225 return ax::mojom::TextBoundary::kPageEnd; in ParseTextBoundary()
2227 return ax::mojom::TextBoundary::kPageStart; in ParseTextBoundary()
2229 return ax::mojom::TextBoundary::kPageStartOrEnd; in ParseTextBoundary()
2231 return ax::mojom::TextBoundary::kParagraphEnd; in ParseTextBoundary()
2233 return ax::mojom::TextBoundary::kParagraphStart; in ParseTextBoundary()
2235 return ax::mojom::TextBoundary::kParagraphStartOrEnd; in ParseTextBoundary()
2237 return ax::mojom::TextBoundary::kSentenceEnd; in ParseTextBoundary()
2239 return ax::mojom::TextBoundary::kSentenceStart; in ParseTextBoundary()
2241 return ax::mojom::TextBoundary::kSentenceStartOrEnd; in ParseTextBoundary()
2243 return ax::mojom::TextBoundary::kWebPage; in ParseTextBoundary()
2245 return ax::mojom::TextBoundary::kWordEnd; in ParseTextBoundary()
2247 return ax::mojom::TextBoundary::kWordStart; in ParseTextBoundary()
2249 return ax::mojom::TextBoundary::kWordStartOrEnd; in ParseTextBoundary()
2250 return ax::mojom::TextBoundary::kObject; in ParseTextBoundary()
2253 const char* ToString(ax::mojom::TextDecorationStyle text_decoration_style) { in ToString()
2255 case ax::mojom::TextDecorationStyle::kNone: in ToString()
2257 case ax::mojom::TextDecorationStyle::kSolid: in ToString()
2259 case ax::mojom::TextDecorationStyle::kDashed: in ToString()
2261 case ax::mojom::TextDecorationStyle::kDotted: in ToString()
2263 case ax::mojom::TextDecorationStyle::kDouble: in ToString()
2265 case ax::mojom::TextDecorationStyle::kWavy: in ToString()
2272 ax::mojom::TextDecorationStyle ParseTextDecorationStyle( in ParseTextDecorationStyle()
2275 return ax::mojom::TextDecorationStyle::kNone; in ParseTextDecorationStyle()
2277 return ax::mojom::TextDecorationStyle::kSolid; in ParseTextDecorationStyle()
2279 return ax::mojom::TextDecorationStyle::kDashed; in ParseTextDecorationStyle()
2281 return ax::mojom::TextDecorationStyle::kDotted; in ParseTextDecorationStyle()
2283 return ax::mojom::TextDecorationStyle::kDouble; in ParseTextDecorationStyle()
2285 return ax::mojom::TextDecorationStyle::kWavy; in ParseTextDecorationStyle()
2286 return ax::mojom::TextDecorationStyle::kNone; in ParseTextDecorationStyle()
2289 const char* ToString(ax::mojom::TextDirection text_direction) { in ToString()
2291 case ax::mojom::TextDirection::kNone: in ToString()
2293 case ax::mojom::TextDirection::kLtr: in ToString()
2295 case ax::mojom::TextDirection::kRtl: in ToString()
2297 case ax::mojom::TextDirection::kTtb: in ToString()
2299 case ax::mojom::TextDirection::kBtt: in ToString()
2306 ax::mojom::TextDirection ParseTextDirection(const char* text_direction) { in ParseTextDirection()
2308 return ax::mojom::TextDirection::kNone; in ParseTextDirection()
2310 return ax::mojom::TextDirection::kLtr; in ParseTextDirection()
2312 return ax::mojom::TextDirection::kRtl; in ParseTextDirection()
2314 return ax::mojom::TextDirection::kTtb; in ParseTextDirection()
2316 return ax::mojom::TextDirection::kBtt; in ParseTextDirection()
2317 return ax::mojom::TextDirection::kNone; in ParseTextDirection()
2320 const char* ToString(ax::mojom::TextPosition text_position) { in ToString()
2322 case ax::mojom::TextPosition::kNone: in ToString()
2324 case ax::mojom::TextPosition::kSubscript: in ToString()
2326 case ax::mojom::TextPosition::kSuperscript: in ToString()
2333 ax::mojom::TextPosition ParseTextPosition(const char* text_position) { in ParseTextPosition()
2335 return ax::mojom::TextPosition::kNone; in ParseTextPosition()
2337 return ax::mojom::TextPosition::kSubscript; in ParseTextPosition()
2339 return ax::mojom::TextPosition::kSuperscript; in ParseTextPosition()
2340 return ax::mojom::TextPosition::kNone; in ParseTextPosition()
2343 const char* ToString(ax::mojom::TextStyle text_style) { in ToString()
2345 case ax::mojom::TextStyle::kNone: in ToString()
2347 case ax::mojom::TextStyle::kBold: in ToString()
2349 case ax::mojom::TextStyle::kItalic: in ToString()
2351 case ax::mojom::TextStyle::kUnderline: in ToString()
2353 case ax::mojom::TextStyle::kLineThrough: in ToString()
2355 case ax::mojom::TextStyle::kOverline: in ToString()
2362 ax::mojom::TextStyle ParseTextStyle(const char* text_style) { in ParseTextStyle()
2364 return ax::mojom::TextStyle::kNone; in ParseTextStyle()
2366 return ax::mojom::TextStyle::kBold; in ParseTextStyle()
2368 return ax::mojom::TextStyle::kItalic; in ParseTextStyle()
2370 return ax::mojom::TextStyle::kUnderline; in ParseTextStyle()
2372 return ax::mojom::TextStyle::kLineThrough; in ParseTextStyle()
2374 return ax::mojom::TextStyle::kOverline; in ParseTextStyle()
2375 return ax::mojom::TextStyle::kNone; in ParseTextStyle()
2378 const char* ToString(ax::mojom::AriaCurrentState aria_current_state) { in ToString()
2380 case ax::mojom::AriaCurrentState::kNone: in ToString()
2382 case ax::mojom::AriaCurrentState::kFalse: in ToString()
2384 case ax::mojom::AriaCurrentState::kTrue: in ToString()
2386 case ax::mojom::AriaCurrentState::kPage: in ToString()
2388 case ax::mojom::AriaCurrentState::kStep: in ToString()
2390 case ax::mojom::AriaCurrentState::kLocation: in ToString()
2392 case ax::mojom::AriaCurrentState::kUnclippedLocation: in ToString()
2394 case ax::mojom::AriaCurrentState::kDate: in ToString()
2396 case ax::mojom::AriaCurrentState::kTime: in ToString()
2403 ax::mojom::AriaCurrentState ParseAriaCurrentState( in ParseAriaCurrentState()
2406 return ax::mojom::AriaCurrentState::kNone; in ParseAriaCurrentState()
2408 return ax::mojom::AriaCurrentState::kFalse; in ParseAriaCurrentState()
2410 return ax::mojom::AriaCurrentState::kTrue; in ParseAriaCurrentState()
2412 return ax::mojom::AriaCurrentState::kPage; in ParseAriaCurrentState()
2414 return ax::mojom::AriaCurrentState::kStep; in ParseAriaCurrentState()
2416 return ax::mojom::AriaCurrentState::kLocation; in ParseAriaCurrentState()
2418 return ax::mojom::AriaCurrentState::kUnclippedLocation; in ParseAriaCurrentState()
2420 return ax::mojom::AriaCurrentState::kDate; in ParseAriaCurrentState()
2422 return ax::mojom::AriaCurrentState::kTime; in ParseAriaCurrentState()
2423 return ax::mojom::AriaCurrentState::kNone; in ParseAriaCurrentState()
2426 const char* ToString(ax::mojom::HasPopup has_popup) { in ToString()
2428 case ax::mojom::HasPopup::kFalse: in ToString()
2430 case ax::mojom::HasPopup::kTrue: in ToString()
2432 case ax::mojom::HasPopup::kMenu: in ToString()
2434 case ax::mojom::HasPopup::kListbox: in ToString()
2436 case ax::mojom::HasPopup::kTree: in ToString()
2438 case ax::mojom::HasPopup::kGrid: in ToString()
2440 case ax::mojom::HasPopup::kDialog: in ToString()
2447 ax::mojom::HasPopup ParseHasPopup(const char* has_popup) { in ParseHasPopup()
2449 return ax::mojom::HasPopup::kTrue; in ParseHasPopup()
2451 return ax::mojom::HasPopup::kMenu; in ParseHasPopup()
2453 return ax::mojom::HasPopup::kListbox; in ParseHasPopup()
2455 return ax::mojom::HasPopup::kTree; in ParseHasPopup()
2457 return ax::mojom::HasPopup::kGrid; in ParseHasPopup()
2459 return ax::mojom::HasPopup::kDialog; in ParseHasPopup()
2461 return ax::mojom::HasPopup::kFalse; in ParseHasPopup()
2464 const char* ToString(ax::mojom::InvalidState invalid_state) { in ToString()
2466 case ax::mojom::InvalidState::kNone: in ToString()
2468 case ax::mojom::InvalidState::kFalse: in ToString()
2470 case ax::mojom::InvalidState::kTrue: in ToString()
2472 case ax::mojom::InvalidState::kOther: in ToString()
2479 ax::mojom::InvalidState ParseInvalidState(const char* invalid_state) { in ParseInvalidState()
2481 return ax::mojom::InvalidState::kNone; in ParseInvalidState()
2483 return ax::mojom::InvalidState::kFalse; in ParseInvalidState()
2485 return ax::mojom::InvalidState::kTrue; in ParseInvalidState()
2487 return ax::mojom::InvalidState::kOther; in ParseInvalidState()
2488 return ax::mojom::InvalidState::kNone; in ParseInvalidState()
2491 const char* ToString(ax::mojom::Restriction restriction) { in ToString()
2493 case ax::mojom::Restriction::kNone: in ToString()
2495 case ax::mojom::Restriction::kReadOnly: in ToString()
2497 case ax::mojom::Restriction::kDisabled: in ToString()
2504 ax::mojom::Restriction ParseRestriction(const char* restriction) { in ParseRestriction()
2506 return ax::mojom::Restriction::kNone; in ParseRestriction()
2508 return ax::mojom::Restriction::kReadOnly; in ParseRestriction()
2510 return ax::mojom::Restriction::kDisabled; in ParseRestriction()
2511 return ax::mojom::Restriction::kNone; in ParseRestriction()
2514 const char* ToString(ax::mojom::CheckedState checked_state) { in ToString()
2516 case ax::mojom::CheckedState::kNone: in ToString()
2518 case ax::mojom::CheckedState::kFalse: in ToString()
2520 case ax::mojom::CheckedState::kTrue: in ToString()
2522 case ax::mojom::CheckedState::kMixed: in ToString()
2529 ax::mojom::CheckedState ParseCheckedState(const char* checked_state) { in ParseCheckedState()
2531 return ax::mojom::CheckedState::kNone; in ParseCheckedState()
2533 return ax::mojom::CheckedState::kFalse; in ParseCheckedState()
2535 return ax::mojom::CheckedState::kTrue; in ParseCheckedState()
2537 return ax::mojom::CheckedState::kMixed; in ParseCheckedState()
2538 return ax::mojom::CheckedState::kNone; in ParseCheckedState()
2541 const char* ToString(ax::mojom::SortDirection sort_direction) { in ToString()
2543 case ax::mojom::SortDirection::kNone: in ToString()
2545 case ax::mojom::SortDirection::kUnsorted: in ToString()
2547 case ax::mojom::SortDirection::kAscending: in ToString()
2549 case ax::mojom::SortDirection::kDescending: in ToString()
2551 case ax::mojom::SortDirection::kOther: in ToString()
2558 ax::mojom::SortDirection ParseSortDirection(const char* sort_direction) { in ParseSortDirection()
2560 return ax::mojom::SortDirection::kNone; in ParseSortDirection()
2562 return ax::mojom::SortDirection::kUnsorted; in ParseSortDirection()
2564 return ax::mojom::SortDirection::kAscending; in ParseSortDirection()
2566 return ax::mojom::SortDirection::kDescending; in ParseSortDirection()
2568 return ax::mojom::SortDirection::kOther; in ParseSortDirection()
2569 return ax::mojom::SortDirection::kNone; in ParseSortDirection()
2572 const char* ToString(ax::mojom::NameFrom name_from) { in ToString()
2574 case ax::mojom::NameFrom::kNone: in ToString()
2576 case ax::mojom::NameFrom::kUninitialized: in ToString()
2578 case ax::mojom::NameFrom::kAttribute: in ToString()
2580 case ax::mojom::NameFrom::kAttributeExplicitlyEmpty: in ToString()
2582 case ax::mojom::NameFrom::kCaption: in ToString()
2584 case ax::mojom::NameFrom::kContents: in ToString()
2586 case ax::mojom::NameFrom::kPlaceholder: in ToString()
2588 case ax::mojom::NameFrom::kRelatedElement: in ToString()
2590 case ax::mojom::NameFrom::kTitle: in ToString()
2592 case ax::mojom::NameFrom::kValue: in ToString()
2599 ax::mojom::NameFrom ParseNameFrom(const char* name_from) { in ParseNameFrom()
2601 return ax::mojom::NameFrom::kNone; in ParseNameFrom()
2603 return ax::mojom::NameFrom::kUninitialized; in ParseNameFrom()
2605 return ax::mojom::NameFrom::kAttribute; in ParseNameFrom()
2607 return ax::mojom::NameFrom::kAttributeExplicitlyEmpty; in ParseNameFrom()
2609 return ax::mojom::NameFrom::kCaption; in ParseNameFrom()
2611 return ax::mojom::NameFrom::kContents; in ParseNameFrom()
2613 return ax::mojom::NameFrom::kPlaceholder; in ParseNameFrom()
2615 return ax::mojom::NameFrom::kRelatedElement; in ParseNameFrom()
2617 return ax::mojom::NameFrom::kTitle; in ParseNameFrom()
2619 return ax::mojom::NameFrom::kValue; in ParseNameFrom()
2620 return ax::mojom::NameFrom::kNone; in ParseNameFrom()
2623 const char* ToString(ax::mojom::DescriptionFrom description_from) { in ToString()
2625 case ax::mojom::DescriptionFrom::kNone: in ToString()
2627 case ax::mojom::DescriptionFrom::kUninitialized: in ToString()
2629 case ax::mojom::DescriptionFrom::kAttribute: in ToString()
2631 case ax::mojom::DescriptionFrom::kContents: in ToString()
2633 case ax::mojom::DescriptionFrom::kRelatedElement: in ToString()
2635 case ax::mojom::DescriptionFrom::kTitle: in ToString()
2642 ax::mojom::DescriptionFrom ParseDescriptionFrom(const char* description_from) { in ParseDescriptionFrom()
2644 return ax::mojom::DescriptionFrom::kNone; in ParseDescriptionFrom()
2646 return ax::mojom::DescriptionFrom::kUninitialized; in ParseDescriptionFrom()
2648 return ax::mojom::DescriptionFrom::kAttribute; in ParseDescriptionFrom()
2650 return ax::mojom::DescriptionFrom::kContents; in ParseDescriptionFrom()
2652 return ax::mojom::DescriptionFrom::kRelatedElement; in ParseDescriptionFrom()
2654 return ax::mojom::DescriptionFrom::kTitle; in ParseDescriptionFrom()
2655 return ax::mojom::DescriptionFrom::kNone; in ParseDescriptionFrom()
2658 const char* ToString(ax::mojom::EventFrom event_from) { in ToString()
2660 case ax::mojom::EventFrom::kNone: in ToString()
2662 case ax::mojom::EventFrom::kUser: in ToString()
2664 case ax::mojom::EventFrom::kPage: in ToString()
2666 case ax::mojom::EventFrom::kAction: in ToString()
2673 ax::mojom::EventFrom ParseEventFrom(const char* event_from) { in ParseEventFrom()
2675 return ax::mojom::EventFrom::kNone; in ParseEventFrom()
2677 return ax::mojom::EventFrom::kUser; in ParseEventFrom()
2679 return ax::mojom::EventFrom::kPage; in ParseEventFrom()
2681 return ax::mojom::EventFrom::kAction; in ParseEventFrom()
2682 return ax::mojom::EventFrom::kNone; in ParseEventFrom()
2685 const char* ToString(ax::mojom::Gesture gesture) { in ToString()
2687 case ax::mojom::Gesture::kNone: in ToString()
2689 case ax::mojom::Gesture::kClick: in ToString()
2691 case ax::mojom::Gesture::kSwipeLeft1: in ToString()
2693 case ax::mojom::Gesture::kSwipeUp1: in ToString()
2695 case ax::mojom::Gesture::kSwipeRight1: in ToString()
2697 case ax::mojom::Gesture::kSwipeDown1: in ToString()
2699 case ax::mojom::Gesture::kSwipeLeft2: in ToString()
2701 case ax::mojom::Gesture::kSwipeUp2: in ToString()
2703 case ax::mojom::Gesture::kSwipeRight2: in ToString()
2705 case ax::mojom::Gesture::kSwipeDown2: in ToString()
2707 case ax::mojom::Gesture::kSwipeLeft3: in ToString()
2709 case ax::mojom::Gesture::kSwipeUp3: in ToString()
2711 case ax::mojom::Gesture::kSwipeRight3: in ToString()
2713 case ax::mojom::Gesture::kSwipeDown3: in ToString()
2715 case ax::mojom::Gesture::kSwipeLeft4: in ToString()
2717 case ax::mojom::Gesture::kSwipeUp4: in ToString()
2719 case ax::mojom::Gesture::kSwipeRight4: in ToString()
2721 case ax::mojom::Gesture::kSwipeDown4: in ToString()
2723 case ax::mojom::Gesture::kTap2: in ToString()
2725 case ax::mojom::Gesture::kTap3: in ToString()
2727 case ax::mojom::Gesture::kTap4: in ToString()
2734 ax::mojom::Gesture ParseGesture(const char* gesture) { in ParseGesture()
2736 return ax::mojom::Gesture::kNone; in ParseGesture()
2738 return ax::mojom::Gesture::kClick; in ParseGesture()
2740 return ax::mojom::Gesture::kSwipeLeft1; in ParseGesture()
2742 return ax::mojom::Gesture::kSwipeUp1; in ParseGesture()
2744 return ax::mojom::Gesture::kSwipeRight1; in ParseGesture()
2746 return ax::mojom::Gesture::kSwipeDown1; in ParseGesture()
2748 return ax::mojom::Gesture::kSwipeLeft2; in ParseGesture()
2750 return ax::mojom::Gesture::kSwipeUp2; in ParseGesture()
2752 return ax::mojom::Gesture::kSwipeRight2; in ParseGesture()
2754 return ax::mojom::Gesture::kSwipeDown2; in ParseGesture()
2756 return ax::mojom::Gesture::kSwipeLeft3; in ParseGesture()
2758 return ax::mojom::Gesture::kSwipeUp3; in ParseGesture()
2760 return ax::mojom::Gesture::kSwipeRight3; in ParseGesture()
2762 return ax::mojom::Gesture::kSwipeDown3; in ParseGesture()
2764 return ax::mojom::Gesture::kSwipeLeft4; in ParseGesture()
2766 return ax::mojom::Gesture::kSwipeUp4; in ParseGesture()
2768 return ax::mojom::Gesture::kSwipeRight4; in ParseGesture()
2770 return ax::mojom::Gesture::kSwipeDown4; in ParseGesture()
2772 return ax::mojom::Gesture::kTap2; in ParseGesture()
2774 return ax::mojom::Gesture::kTap3; in ParseGesture()
2776 return ax::mojom::Gesture::kTap4; in ParseGesture()
2777 return ax::mojom::Gesture::kNone; in ParseGesture()
2780 const char* ToString(ax::mojom::TextAffinity text_affinity) { in ToString()
2782 case ax::mojom::TextAffinity::kNone: in ToString()
2784 case ax::mojom::TextAffinity::kDownstream: in ToString()
2786 case ax::mojom::TextAffinity::kUpstream: in ToString()
2793 ax::mojom::TextAffinity ParseTextAffinity(const char* text_affinity) { in ParseTextAffinity()
2795 return ax::mojom::TextAffinity::kNone; in ParseTextAffinity()
2797 return ax::mojom::TextAffinity::kDownstream; in ParseTextAffinity()
2799 return ax::mojom::TextAffinity::kUpstream; in ParseTextAffinity()
2800 return ax::mojom::TextAffinity::kNone; in ParseTextAffinity()
2803 const char* ToString(ax::mojom::TreeOrder tree_order) { in ToString()
2805 case ax::mojom::TreeOrder::kNone: in ToString()
2807 case ax::mojom::TreeOrder::kUndefined: in ToString()
2809 case ax::mojom::TreeOrder::kBefore: in ToString()
2811 case ax::mojom::TreeOrder::kEqual: in ToString()
2813 case ax::mojom::TreeOrder::kAfter: in ToString()
2820 ax::mojom::TreeOrder ParseTreeOrder(const char* tree_order) { in ParseTreeOrder()
2822 return ax::mojom::TreeOrder::kNone; in ParseTreeOrder()
2824 return ax::mojom::TreeOrder::kUndefined; in ParseTreeOrder()
2826 return ax::mojom::TreeOrder::kBefore; in ParseTreeOrder()
2828 return ax::mojom::TreeOrder::kEqual; in ParseTreeOrder()
2830 return ax::mojom::TreeOrder::kAfter; in ParseTreeOrder()
2831 return ax::mojom::TreeOrder::kNone; in ParseTreeOrder()
2834 const char* ToString(ax::mojom::ImageAnnotationStatus status) { in ToString()
2836 case ax::mojom::ImageAnnotationStatus::kNone: in ToString()
2838 case ax::mojom::ImageAnnotationStatus::kWillNotAnnotateDueToScheme: in ToString()
2840 case ax::mojom::ImageAnnotationStatus::kIneligibleForAnnotation: in ToString()
2842 case ax::mojom::ImageAnnotationStatus::kEligibleForAnnotation: in ToString()
2844 case ax::mojom::ImageAnnotationStatus::kSilentlyEligibleForAnnotation: in ToString()
2846 case ax::mojom::ImageAnnotationStatus::kAnnotationPending: in ToString()
2848 case ax::mojom::ImageAnnotationStatus::kAnnotationSucceeded: in ToString()
2850 case ax::mojom::ImageAnnotationStatus::kAnnotationEmpty: in ToString()
2852 case ax::mojom::ImageAnnotationStatus::kAnnotationAdult: in ToString()
2854 case ax::mojom::ImageAnnotationStatus::kAnnotationProcessFailed: in ToString()
2861 ax::mojom::ImageAnnotationStatus ParseImageAnnotationStatus( in ParseImageAnnotationStatus()
2864 return ax::mojom::ImageAnnotationStatus::kNone; in ParseImageAnnotationStatus()
2866 return ax::mojom::ImageAnnotationStatus::kWillNotAnnotateDueToScheme; in ParseImageAnnotationStatus()
2868 return ax::mojom::ImageAnnotationStatus::kIneligibleForAnnotation; in ParseImageAnnotationStatus()
2870 return ax::mojom::ImageAnnotationStatus::kEligibleForAnnotation; in ParseImageAnnotationStatus()
2872 return ax::mojom::ImageAnnotationStatus::kSilentlyEligibleForAnnotation; in ParseImageAnnotationStatus()
2874 return ax::mojom::ImageAnnotationStatus::kAnnotationPending; in ParseImageAnnotationStatus()
2876 return ax::mojom::ImageAnnotationStatus::kAnnotationSucceeded; in ParseImageAnnotationStatus()
2878 return ax::mojom::ImageAnnotationStatus::kAnnotationEmpty; in ParseImageAnnotationStatus()
2880 return ax::mojom::ImageAnnotationStatus::kAnnotationAdult; in ParseImageAnnotationStatus()
2882 return ax::mojom::ImageAnnotationStatus::kAnnotationProcessFailed; in ParseImageAnnotationStatus()
2884 return ax::mojom::ImageAnnotationStatus::kNone; in ParseImageAnnotationStatus()
2887 ax::mojom::Dropeffect ParseDropeffect(const char* dropeffect) { in ParseDropeffect()
2889 return ax::mojom::Dropeffect::kCopy; in ParseDropeffect()
2891 return ax::mojom::Dropeffect::kExecute; in ParseDropeffect()
2893 return ax::mojom::Dropeffect::kLink; in ParseDropeffect()
2895 return ax::mojom::Dropeffect::kMove; in ParseDropeffect()
2897 return ax::mojom::Dropeffect::kPopup; in ParseDropeffect()
2898 return ax::mojom::Dropeffect::kNone; in ParseDropeffect()
2901 const char* ToString(ax::mojom::Dropeffect dropeffect) { in ToString()
2903 case ax::mojom::Dropeffect::kCopy: in ToString()
2905 case ax::mojom::Dropeffect::kExecute: in ToString()
2907 case ax::mojom::Dropeffect::kLink: in ToString()
2909 case ax::mojom::Dropeffect::kMove: in ToString()
2911 case ax::mojom::Dropeffect::kPopup: in ToString()
2913 case ax::mojom::Dropeffect::kNone: in ToString()