| 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 // TODO(nektar): Migrate entire file to Mojoq. | 5 // TODO(nektar): Migrate entire file to Mojoq. |
| 6 // These should be kept in sync with third_party/WebKit/public/web/WebAXEnums.h | 6 // These should be kept in sync with third_party/WebKit/public/web/WebAXEnums.h |
| 7 // until the Chromium and Blink trees are merged. | 7 // until the Chromium and Blink trees are merged. |
| 8 [camel_case_enum_to_string=true] namespace ui { | 8 [camel_case_enum_to_string=true] namespace ui { |
| 9 | 9 |
| 10 // For new entries to the following four enums, also add to | 10 // For new entries to the following four enums, also add to |
| (...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 222 focusable, | 222 focusable, |
| 223 haspopup, | 223 haspopup, |
| 224 // Grows horizontally, e.g. most toolbars and separators. | 224 // Grows horizontally, e.g. most toolbars and separators. |
| 225 horizontal, | 225 horizontal, |
| 226 hovered, | 226 hovered, |
| 227 invisible, | 227 invisible, |
| 228 linked, | 228 linked, |
| 229 multiline, | 229 multiline, |
| 230 multiselectable, | 230 multiselectable, |
| 231 offscreen, | 231 offscreen, |
| 232 pressed, | |
| 233 protected, | 232 protected, |
| 234 read_only, | 233 read_only, |
| 235 required, | 234 required, |
| 236 richly_editable, | 235 richly_editable, |
| 237 selectable, | 236 selectable, |
| 238 selected, | 237 selected, |
| 239 // Grows vertically, e.g. menu or combo box. | 238 // Grows vertically, e.g. menu or combo box. |
| 240 vertical, | 239 vertical, |
| 241 visited | 240 visited |
| 242 }; | 241 }; |
| (...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 429 // Text attributes. | 428 // Text attributes. |
| 430 | 429 |
| 431 // Foreground and background color in RGBA. | 430 // Foreground and background color in RGBA. |
| 432 background_color, | 431 background_color, |
| 433 color, | 432 color, |
| 434 | 433 |
| 435 // Indicates if a form control has invalid input or | 434 // Indicates if a form control has invalid input or |
| 436 // if an element has an aria-invalid attribute. | 435 // if an element has an aria-invalid attribute. |
| 437 invalid_state, | 436 invalid_state, |
| 438 | 437 |
| 439 // Of type AXCheckedState | 438 // Of type AXButtonState |
| 440 checked_state, | 439 checked_state, |
| 440 pressed_state, |
| 441 | 441 |
| 442 // Specifies the direction of the text, e.g., right-to-left. | 442 // Specifies the direction of the text, e.g., right-to-left. |
| 443 text_direction, | 443 text_direction, |
| 444 | 444 |
| 445 // Bold, italic, underline, etc. | 445 // Bold, italic, underline, etc. |
| 446 text_style | 446 text_style |
| 447 }; | 447 }; |
| 448 | 448 |
| 449 [cpp_enum_prefix_override="ax_attr"] enum AXFloatAttribute { | 449 [cpp_enum_prefix_override="ax_attr"] enum AXFloatAttribute { |
| 450 // Range attributes. | 450 // Range attributes. |
| (...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 584 }; | 584 }; |
| 585 | 585 |
| 586 enum AXInvalidState { | 586 enum AXInvalidState { |
| 587 false, | 587 false, |
| 588 true, | 588 true, |
| 589 spelling, | 589 spelling, |
| 590 grammar, | 590 grammar, |
| 591 other | 591 other |
| 592 }; | 592 }; |
| 593 | 593 |
| 594 enum AXCheckedState { | 594 enum AXButtonState { |
| 595 false, | 595 false, |
| 596 true, | 596 true, |
| 597 mixed | 597 mixed |
| 598 }; | 598 }; |
| 599 | 599 |
| 600 enum AXSortDirection { | 600 enum AXSortDirection { |
| 601 unsorted, | 601 unsorted, |
| 602 ascending, | 602 ascending, |
| 603 descending, | 603 descending, |
| 604 other | 604 other |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 662 // First node is before the second one. | 662 // First node is before the second one. |
| 663 before, | 663 before, |
| 664 | 664 |
| 665 // Nodes are the same. | 665 // Nodes are the same. |
| 666 equal, | 666 equal, |
| 667 | 667 |
| 668 // First node is after the second one. | 668 // First node is after the second one. |
| 669 after | 669 after |
| 670 }; | 670 }; |
| 671 }; | 671 }; |
| OLD | NEW |