Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(47)

Side by Side Diff: chrome/common/extensions/api/automation.idl

Issue 758393002: Removing unused roles(7) from chromium. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // The <code>chrome.automation</code> API allows developers to access the 5 // The <code>chrome.automation</code> API allows developers to access the
6 // automation (accessibility) tree for the browser. The tree resembles the DOM 6 // automation (accessibility) tree for the browser. The tree resembles the DOM
7 // tree, but only exposes the <em>semantic</em> structure of a page. It can be 7 // tree, but only exposes the <em>semantic</em> structure of a page. It can be
8 // used to programmatically interact with a page by examining names, roles, and 8 // used to programmatically interact with a page by examining names, roles, and
9 // states, listening for events, and performing actions on nodes. 9 // states, listening for events, and performing actions on nodes.
10 [nocompile] namespace automation { 10 [nocompile] namespace automation {
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 52
53 // Describes the purpose of an $(ref:automation.AutomationNode). 53 // Describes the purpose of an $(ref:automation.AutomationNode).
54 enum RoleType { 54 enum RoleType {
55 alertDialog, 55 alertDialog,
56 alert, 56 alert,
57 annotation, 57 annotation,
58 application, 58 application,
59 article, 59 article,
60 banner, 60 banner,
61 blockquote, 61 blockquote,
62 browser,
63 busyIndicator, 62 busyIndicator,
64 button, 63 button,
65 buttonDropDown, 64 buttonDropDown,
66 canvas, 65 canvas,
67 cell, 66 cell,
68 checkBox, 67 checkBox,
69 client, 68 client,
70 colorWell, 69 colorWell,
71 columnHeader, 70 columnHeader,
72 column, 71 column,
73 comboBox, 72 comboBox,
74 complementary, 73 complementary,
75 contentInfo, 74 contentInfo,
76 date, 75 date,
77 dateTime, 76 dateTime,
78 definition, 77 definition,
79 descriptionListDetail, 78 descriptionListDetail,
80 descriptionList, 79 descriptionList,
81 descriptionListTerm, 80 descriptionListTerm,
82 desktop, 81 desktop,
83 details, 82 details,
84 dialog, 83 dialog,
85 directory, 84 directory,
86 disclosureTriangle, 85 disclosureTriangle,
87 div, 86 div,
88 document, 87 document,
89 drawer,
90 editableText, 88 editableText,
91 embeddedObject, 89 embeddedObject,
92 figcaption, 90 figcaption,
93 figure, 91 figure,
94 footer, 92 footer,
95 form, 93 form,
96 grid, 94 grid,
97 group, 95 group,
98 growArea, 96 growArea,
99 heading, 97 heading,
100 helpTag,
101 iframe, 98 iframe,
102 ignored, 99 ignored,
103 imageMapLink, 100 imageMapLink,
104 imageMap, 101 imageMap,
105 image, 102 image,
106 inlineTextBox, 103 inlineTextBox,
107 labelText, 104 labelText,
108 legend, 105 legend,
109 link, 106 link,
110 listBoxOption, 107 listBoxOption,
111 listBox, 108 listBox,
112 listItem, 109 listItem,
113 listMarker, 110 listMarker,
114 list, 111 list,
115 locationBar, 112 locationBar,
116 log, 113 log,
117 main, 114 main,
118 marquee, 115 marquee,
119 math, 116 math,
120 matte,
121 menuBar, 117 menuBar,
122 menuButton, 118 menuButton,
123 menuItem, 119 menuItem,
124 menuItemCheckBox, 120 menuItemCheckBox,
125 menuItemRadio, 121 menuItemRadio,
126 menuListOption, 122 menuListOption,
127 menuListPopup, 123 menuListPopup,
128 menu, 124 menu,
129 meter, 125 meter,
130 navigation, 126 navigation,
131 note, 127 note,
132 outline, 128 outline,
133 pane, 129 pane,
134 paragraph, 130 paragraph,
135 popUpButton, 131 popUpButton,
136 pre, 132 pre,
137 presentational, 133 presentational,
138 progressIndicator, 134 progressIndicator,
139 radioButton, 135 radioButton,
140 radioGroup, 136 radioGroup,
141 region, 137 region,
142 rootWebArea, 138 rootWebArea,
143 rowHeader, 139 rowHeader,
144 row, 140 row,
145 ruby, 141 ruby,
146 rulerMarker,
147 ruler, 142 ruler,
148 svgRoot, 143 svgRoot,
149 scrollArea, 144 scrollArea,
150 scrollBar, 145 scrollBar,
151 seamlessWebArea, 146 seamlessWebArea,
152 search, 147 search,
153 sheet,
154 slider, 148 slider,
155 sliderThumb, 149 sliderThumb,
156 spinButtonPart, 150 spinButtonPart,
157 spinButton, 151 spinButton,
158 splitGroup, 152 splitGroup,
159 splitter, 153 splitter,
160 staticText, 154 staticText,
161 status, 155 status,
162 systemWide,
163 tabGroup, 156 tabGroup,
164 tabList, 157 tabList,
165 tabPanel, 158 tabPanel,
166 tab, 159 tab,
167 tableHeaderContainer, 160 tableHeaderContainer,
168 table, 161 table,
169 textArea, 162 textArea,
170 textField, 163 textField,
171 time, 164 time,
172 timer, 165 timer,
173 titleBar, 166 titleBar,
174 toggleButton, 167 toggleButton,
175 toolbar, 168 toolbar,
176 treeGrid, 169 treeGrid,
177 treeItem, 170 treeItem,
178 tree, 171 tree,
179 unknown, 172 unknown,
180 tooltip, 173 tooltip,
181 valueIndicator,
182 webArea, 174 webArea,
183 webView, 175 webView,
184 window 176 window
185 }; 177 };
186 178
187 // Describes characteristics of an $(ref:automation.AutomationNode). 179 // Describes characteristics of an $(ref:automation.AutomationNode).
188 enum StateType { 180 enum StateType {
189 busy, 181 busy,
190 checked, 182 checked,
191 collapsed, 183 collapsed,
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after
490 // tree with a placeholder root node; listen for the "loadComplete" event to 482 // tree with a placeholder root node; listen for the "loadComplete" event to
491 // get a notification that the tree has fully loaded (the previous root node 483 // get a notification that the tree has fully loaded (the previous root node
492 // reference will stop working at or before this point). 484 // reference will stop working at or before this point).
493 [nocompile] static void getTree(optional long tabId, RootCallback callback); 485 [nocompile] static void getTree(optional long tabId, RootCallback callback);
494 486
495 // Get the automation tree for the whole desktop which consists of all on 487 // Get the automation tree for the whole desktop which consists of all on
496 // screen views. Note this API is currently only supported on Chrome OS. 488 // screen views. Note this API is currently only supported on Chrome OS.
497 [nocompile] static void getDesktop(RootCallback callback); 489 [nocompile] static void getDesktop(RootCallback callback);
498 }; 490 };
499 }; 491 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698