| Index: ui/accessibility/ax_enums.idl
|
| diff --git a/ui/accessibility/ax_enums.idl b/ui/accessibility/ax_enums.idl
|
| index 43c9e4b15cdab928817dc4d01bbbfd364788af2d..b17f2c840afdb927b0b57633643b05cfa56ad5b4 100644
|
| --- a/ui/accessibility/ax_enums.idl
|
| +++ b/ui/accessibility/ax_enums.idl
|
| @@ -299,14 +299,6 @@
|
| title_ui_element,
|
| activedescendant_id,
|
|
|
| - // Color value for AX_ROLE_COLOR_WELL, each component is 0..255
|
| - color_value_red,
|
| - color_value_green,
|
| - color_value_blue,
|
| -
|
| - // Inline text attributes.
|
| - text_direction,
|
| -
|
| // Uniquely identifies an AXTree.
|
| tree_id,
|
|
|
| @@ -317,9 +309,25 @@
|
| set_size,
|
| pos_in_set,
|
|
|
| + // In the case of AX_ROLE_COLOR_WELL, specifies the selected color.
|
| + color_value,
|
| +
|
| +
|
| + // Text attributes.
|
| +
|
| + // Foreground and background color in RGBA.
|
| + background_color,
|
| + color,
|
| +
|
| // Indicates if a form control has invalid input or
|
| // if an element has an aria-invalid attribute.
|
| - invalid_state
|
| + invalid_state,
|
| +
|
| + // Specifies the direction of the text, e.g., right-to-left.
|
| + text_direction,
|
| +
|
| + // Bold, italic, underline, etc.
|
| + text_style
|
| };
|
|
|
| [cpp_enum_prefix_override="ax_attr"] enum AXFloatAttribute {
|
| @@ -329,7 +337,10 @@
|
| // Range attributes.
|
| value_for_range,
|
| min_value_for_range,
|
| - max_value_for_range
|
| + max_value_for_range,
|
| +
|
| + // Text attributes.
|
| + font_size // In pixels.
|
| };
|
|
|
| [cpp_enum_prefix_override="ax_attr"] enum AXBoolAttribute {
|
| @@ -409,10 +420,17 @@
|
| };
|
|
|
| [cpp_enum_prefix_override="ax"] enum AXTextDirection {
|
| - text_direction_lr,
|
| - text_direction_rl,
|
| - text_direction_tb,
|
| - text_direction_bt
|
| + text_direction_ltr,
|
| + text_direction_rtl,
|
| + text_direction_ttb,
|
| + text_direction_btt
|
| + };
|
| +
|
| + [cpp_enum_prefix_override="ax"] enum AXTextStyle {
|
| + text_style_bold,
|
| + text_style_italic,
|
| + text_style_underline,
|
| + text_style_line_through
|
| };
|
|
|
| [cpp_enum_prefix_override="ax"] enum AXInvalidState {
|
|
|