| // Copyright 2021 The Chromium OS Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| // This file is generated by `tools/generate_automation2_constants.py`. |
| |
| // Package role describes the purpose of a chrome.automation AutomationNode. |
| package role |
| |
| // Role describes the purpose of a chrome.automation AutomationNode. |
| type Role string |
| |
| // As defined in https://chromium.googlesource.com/chromium/src/+/refs/heads/main/extensions/common/api/automation.idl |
| const ( |
| Abbr Role = "abbr" |
| Alert Role = "alert" |
| AlertDialog Role = "alertDialog" |
| Anchor Role = "anchor" |
| Application Role = "application" |
| Article Role = "article" |
| Audio Role = "audio" |
| Banner Role = "banner" |
| Blockquote Role = "blockquote" |
| Button Role = "button" |
| Canvas Role = "canvas" |
| Caption Role = "caption" |
| Caret Role = "caret" |
| Cell Role = "cell" |
| CheckBox Role = "checkBox" |
| Client Role = "client" |
| Code Role = "code" |
| ColorWell Role = "colorWell" |
| Column Role = "column" |
| ColumnHeader Role = "columnHeader" |
| ComboBoxGrouping Role = "comboBoxGrouping" |
| ComboBoxMenuButton Role = "comboBoxMenuButton" |
| Comment Role = "comment" |
| Complementary Role = "complementary" |
| ContentDeletion Role = "contentDeletion" |
| ContentInsertion Role = "contentInsertion" |
| ContentInfo Role = "contentInfo" |
| Date Role = "date" |
| DateTime Role = "dateTime" |
| Definition Role = "definition" |
| DescriptionList Role = "descriptionList" |
| DescriptionListDetail Role = "descriptionListDetail" |
| DescriptionListTerm Role = "descriptionListTerm" |
| Desktop Role = "desktop" |
| Details Role = "details" |
| Dialog Role = "dialog" |
| Directory Role = "directory" |
| DisclosureTriangle Role = "disclosureTriangle" |
| DocAbstract Role = "docAbstract" |
| DocAcknowledgments Role = "docAcknowledgments" |
| DocAfterword Role = "docAfterword" |
| DocAppendix Role = "docAppendix" |
| DocBackLink Role = "docBackLink" |
| DocBiblioEntry Role = "docBiblioEntry" |
| DocBibliography Role = "docBibliography" |
| DocBiblioRef Role = "docBiblioRef" |
| DocChapter Role = "docChapter" |
| DocColophon Role = "docColophon" |
| DocConclusion Role = "docConclusion" |
| DocCover Role = "docCover" |
| DocCredit Role = "docCredit" |
| DocCredits Role = "docCredits" |
| DocDedication Role = "docDedication" |
| DocEndnote Role = "docEndnote" |
| DocEndnotes Role = "docEndnotes" |
| DocEpigraph Role = "docEpigraph" |
| DocEpilogue Role = "docEpilogue" |
| DocErrata Role = "docErrata" |
| DocExample Role = "docExample" |
| DocFootnote Role = "docFootnote" |
| DocForeword Role = "docForeword" |
| DocGlossary Role = "docGlossary" |
| DocGlossRef Role = "docGlossRef" |
| DocIndex Role = "docIndex" |
| DocIntroduction Role = "docIntroduction" |
| DocNoteRef Role = "docNoteRef" |
| DocNotice Role = "docNotice" |
| DocPageBreak Role = "docPageBreak" |
| DocPageFooter Role = "docPageFooter" |
| DocPageHeader Role = "docPageHeader" |
| DocPageList Role = "docPageList" |
| DocPart Role = "docPart" |
| DocPreface Role = "docPreface" |
| DocPrologue Role = "docPrologue" |
| DocPullquote Role = "docPullquote" |
| DocQna Role = "docQna" |
| DocSubtitle Role = "docSubtitle" |
| DocTip Role = "docTip" |
| DocToc Role = "docToc" |
| Document Role = "document" |
| EmbeddedObject Role = "embeddedObject" |
| Emphasis Role = "emphasis" |
| Feed Role = "feed" |
| Figcaption Role = "figcaption" |
| Figure Role = "figure" |
| Footer Role = "footer" |
| FooterAsNonLandmark Role = "footerAsNonLandmark" |
| Form Role = "form" |
| GenericContainer Role = "genericContainer" |
| GraphicsDocument Role = "graphicsDocument" |
| GraphicsObject Role = "graphicsObject" |
| GraphicsSymbol Role = "graphicsSymbol" |
| Grid Role = "grid" |
| Group Role = "group" |
| Header Role = "header" |
| HeaderAsNonLandmark Role = "headerAsNonLandmark" |
| Heading Role = "heading" |
| Iframe Role = "iframe" |
| IframePresentational Role = "iframePresentational" |
| Ignored Role = "ignored" |
| Image Role = "image" |
| ImageMap Role = "imageMap" |
| ImeCandidate Role = "imeCandidate" |
| InlineTextBox Role = "inlineTextBox" |
| InputTime Role = "inputTime" |
| Keyboard Role = "keyboard" |
| LabelText Role = "labelText" |
| LayoutTable Role = "layoutTable" |
| LayoutTableCell Role = "layoutTableCell" |
| LayoutTableRow Role = "layoutTableRow" |
| Legend Role = "legend" |
| LineBreak Role = "lineBreak" |
| Link Role = "link" |
| List Role = "list" |
| ListBox Role = "listBox" |
| ListBoxOption Role = "listBoxOption" |
| ListGrid Role = "listGrid" |
| ListItem Role = "listItem" |
| ListMarker Role = "listMarker" |
| Log Role = "log" |
| Main Role = "main" |
| Mark Role = "mark" |
| Marquee Role = "marquee" |
| Math Role = "math" |
| Menu Role = "menu" |
| MenuBar Role = "menuBar" |
| MenuItem Role = "menuItem" |
| MenuItemCheckBox Role = "menuItemCheckBox" |
| MenuItemRadio Role = "menuItemRadio" |
| MenuListOption Role = "menuListOption" |
| MenuListPopup Role = "menuListPopup" |
| Meter Role = "meter" |
| Navigation Role = "navigation" |
| Note Role = "note" |
| Pane Role = "pane" |
| Paragraph Role = "paragraph" |
| PdfActionableHighlight Role = "pdfActionableHighlight" |
| PluginObject Role = "pluginObject" |
| PopUpButton Role = "popUpButton" |
| Portal Role = "portal" |
| Pre Role = "pre" |
| Presentational Role = "presentational" |
| ProgressIndicator Role = "progressIndicator" |
| RadioButton Role = "radioButton" |
| RadioGroup Role = "radioGroup" |
| Region Role = "region" |
| RootWebArea Role = "rootWebArea" |
| Row Role = "row" |
| RowGroup Role = "rowGroup" |
| RowHeader Role = "rowHeader" |
| Ruby Role = "ruby" |
| RubyAnnotation Role = "rubyAnnotation" |
| ScrollBar Role = "scrollBar" |
| ScrollView Role = "scrollView" |
| Search Role = "search" |
| SearchBox Role = "searchBox" |
| Section Role = "section" |
| Slider Role = "slider" |
| SliderThumb Role = "sliderThumb" |
| SpinButton Role = "spinButton" |
| Splitter Role = "splitter" |
| StaticText Role = "staticText" |
| Status Role = "status" |
| Strong Role = "strong" |
| Suggestion Role = "suggestion" |
| SvgRoot Role = "svgRoot" |
| Switch Role = "switch" |
| Tab Role = "tab" |
| TabList Role = "tabList" |
| TabPanel Role = "tabPanel" |
| Table Role = "table" |
| TableHeaderContainer Role = "tableHeaderContainer" |
| Term Role = "term" |
| TextField Role = "textField" |
| TextFieldWithComboBox Role = "textFieldWithComboBox" |
| Time Role = "time" |
| Timer Role = "timer" |
| TitleBar Role = "titleBar" |
| ToggleButton Role = "toggleButton" |
| Toolbar Role = "toolbar" |
| Tooltip Role = "tooltip" |
| Tree Role = "tree" |
| TreeGrid Role = "treeGrid" |
| TreeItem Role = "treeItem" |
| Unknown Role = "unknown" |
| Video Role = "video" |
| WebArea Role = "webArea" |
| WebView Role = "webView" |
| Window Role = "window" |
| ) |