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 [camel_case_enum_to_string=true] namespace ui { | 7 [camel_case_enum_to_string=true] namespace ui { |
8 | 8 |
9 // For new entries to the following three enums, also add to | 9 // For new entries to the following three enums, also add to |
10 // chrome/common/extensions/api/automation.idl. | 10 // chrome/common/extensions/api/automation.idl. |
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
287 // Relationships between this element and other elements. | 287 // Relationships between this element and other elements. |
288 title_ui_element, | 288 title_ui_element, |
289 activedescendant_id, | 289 activedescendant_id, |
290 | 290 |
291 // Color value for AX_ROLE_COLOR_WELL, each component is 0..255 | 291 // Color value for AX_ROLE_COLOR_WELL, each component is 0..255 |
292 color_value_red, | 292 color_value_red, |
293 color_value_green, | 293 color_value_green, |
294 color_value_blue, | 294 color_value_blue, |
295 | 295 |
296 // Inline text attributes. | 296 // Inline text attributes. |
297 text_direction | 297 text_direction, |
| 298 |
| 299 // TODO(dtseng, dmazzoni): These currently get populated with process and |
| 300 // routing id. Base these ids off of the accessibility tree. Only |
| 301 // applicable to views::WebView. |
| 302 frame_id, |
| 303 child_frame_id |
298 }; | 304 }; |
299 | 305 |
300 [cpp_enum_prefix_override="ax_attr"] enum AXFloatAttribute { | 306 [cpp_enum_prefix_override="ax_attr"] enum AXFloatAttribute { |
301 // Document attributes. | 307 // Document attributes. |
302 doc_loading_progress, | 308 doc_loading_progress, |
303 | 309 |
304 // Range attributes. | 310 // Range attributes. |
305 value_for_range, | 311 value_for_range, |
306 min_value_for_range, | 312 min_value_for_range, |
307 max_value_for_range | 313 max_value_for_range |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
379 word_ends | 385 word_ends |
380 }; | 386 }; |
381 | 387 |
382 [cpp_enum_prefix_override="ax"] enum AXTextDirection { | 388 [cpp_enum_prefix_override="ax"] enum AXTextDirection { |
383 text_direction_lr, | 389 text_direction_lr, |
384 text_direction_rl, | 390 text_direction_rl, |
385 text_direction_tb, | 391 text_direction_tb, |
386 text_direction_bt | 392 text_direction_bt |
387 }; | 393 }; |
388 }; | 394 }; |
OLD | NEW |