OLD | NEW |
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 // These should be kept in sync with third_party/WebKit/public/web/WebAXEnums.h | 5 // These should be kept in sync with third_party/WebKit/public/web/WebAXEnums.h |
6 // until the Chromium and Blink trees are merged. | 6 // until the Chromium and Blink trees are merged. |
7 namespace ui { | 7 namespace ui { |
8 enum AXEvent { | 8 enum AXEvent { |
9 activedescendantchanged, | 9 activedescendantchanged, |
10 alert, | 10 alert, |
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
245 ax_attr_table_cell_column_index, | 245 ax_attr_table_cell_column_index, |
246 ax_attr_table_cell_column_span, | 246 ax_attr_table_cell_column_span, |
247 ax_attr_table_cell_row_index, | 247 ax_attr_table_cell_row_index, |
248 ax_attr_table_cell_row_span, | 248 ax_attr_table_cell_row_span, |
249 | 249 |
250 // Tree control attributes. | 250 // Tree control attributes. |
251 ax_attr_hierarchical_level, | 251 ax_attr_hierarchical_level, |
252 | 252 |
253 // Relationships between this element and other elements. | 253 // Relationships between this element and other elements. |
254 ax_attr_title_ui_element, | 254 ax_attr_title_ui_element, |
| 255 ax_attr_activedescendant_id, |
255 | 256 |
256 // Color value for AX_ROLE_COLOR_WELL, each component is 0..255 | 257 // Color value for AX_ROLE_COLOR_WELL, each component is 0..255 |
257 ax_attr_color_value_red, | 258 ax_attr_color_value_red, |
258 ax_attr_color_value_green, | 259 ax_attr_color_value_green, |
259 ax_attr_color_value_blue, | 260 ax_attr_color_value_blue, |
260 | 261 |
261 // Inline text attributes. | 262 // Inline text attributes. |
262 ax_attr_text_direction | 263 ax_attr_text_direction |
263 }; | 264 }; |
264 | 265 |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
299 ax_attr_canvas_has_fallback | 300 ax_attr_canvas_has_fallback |
300 }; | 301 }; |
301 | 302 |
302 [cpp_omit_enum_type] enum AXIntListAttribute { | 303 [cpp_omit_enum_type] enum AXIntListAttribute { |
303 // Ids of nodes that are children of this node logically, but are | 304 // Ids of nodes that are children of this node logically, but are |
304 // not children of this node in the tree structure. As an example, | 305 // not children of this node in the tree structure. As an example, |
305 // a table cell is a child of a row, and an 'indirect' child of a | 306 // a table cell is a child of a row, and an 'indirect' child of a |
306 // column. | 307 // column. |
307 ax_attr_indirect_child_ids, | 308 ax_attr_indirect_child_ids, |
308 | 309 |
| 310 // Relationships between this element and other elements. |
| 311 ax_attr_controls_ids, |
| 312 ax_attr_describedby_ids, |
| 313 ax_attr_flowto_ids, |
| 314 ax_attr_labelledby_ids, |
| 315 ax_attr_owns_ids, |
| 316 |
309 // Character indices where line breaks occur. | 317 // Character indices where line breaks occur. |
310 ax_attr_line_breaks, | 318 ax_attr_line_breaks, |
311 | 319 |
312 // For a table, the cell ids in row-major order, with duplicate entries | 320 // For a table, the cell ids in row-major order, with duplicate entries |
313 // when there's a rowspan or colspan, and with -1 for missing cells. | 321 // when there's a rowspan or colspan, and with -1 for missing cells. |
314 // There are always exactly rows * columns entries. | 322 // There are always exactly rows * columns entries. |
315 ax_attr_cell_ids, | 323 ax_attr_cell_ids, |
316 | 324 |
317 // For a table, the unique cell ids in row-major order of their first | 325 // For a table, the unique cell ids in row-major order of their first |
318 // occurrence. | 326 // occurrence. |
(...skipping 13 matching lines...) Expand all Loading... |
332 ax_attr_word_ends | 340 ax_attr_word_ends |
333 }; | 341 }; |
334 | 342 |
335 [cpp_omit_enum_type] enum AXTextDirection { | 343 [cpp_omit_enum_type] enum AXTextDirection { |
336 ax_text_direction_lr, | 344 ax_text_direction_lr, |
337 ax_text_direction_rl, | 345 ax_text_direction_rl, |
338 ax_text_direction_tb, | 346 ax_text_direction_tb, |
339 ax_text_direction_bt | 347 ax_text_direction_bt |
340 }; | 348 }; |
341 }; | 349 }; |
OLD | NEW |