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

Side by Side Diff: ui/accessibility/ax_enums.idl

Issue 2694903010: AX checked state changes (Closed)
Patch Set: git cl try Created 3 years, 8 months 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
« no previous file with comments | « third_party/WebKit/public/web/WebAXObject.h ('k') | ui/accessibility/ax_node_data.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 // 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 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 unknown, 206 unknown,
207 tooltip, 207 tooltip,
208 video, 208 video,
209 web_area, 209 web_area,
210 web_view, 210 web_view,
211 window 211 window
212 }; 212 };
213 213
214 enum AXState { 214 enum AXState {
215 busy, 215 busy,
216 checked,
217 collapsed, 216 collapsed,
218 default, 217 default,
219 disabled, 218 disabled,
220 editable, 219 editable,
221 expanded, 220 expanded,
222 focusable, 221 focusable,
223 haspopup, 222 haspopup,
224 // Grows horizontally, e.g. most toolbars and separators. 223 // Grows horizontally, e.g. most toolbars and separators.
225 horizontal, 224 horizontal,
226 hovered, 225 hovered,
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
427 // Text attributes. 426 // Text attributes.
428 427
429 // Foreground and background color in RGBA. 428 // Foreground and background color in RGBA.
430 background_color, 429 background_color,
431 color, 430 color,
432 431
433 // Indicates if a form control has invalid input or 432 // Indicates if a form control has invalid input or
434 // if an element has an aria-invalid attribute. 433 // if an element has an aria-invalid attribute.
435 invalid_state, 434 invalid_state,
436 435
436 // Of type AXCheckedState
437 checked_state,
438
437 // Specifies the direction of the text, e.g., right-to-left. 439 // Specifies the direction of the text, e.g., right-to-left.
438 text_direction, 440 text_direction,
439 441
440 // Bold, italic, underline, etc. 442 // Bold, italic, underline, etc.
441 text_style 443 text_style
442 }; 444 };
443 445
444 [cpp_enum_prefix_override="ax_attr"] enum AXFloatAttribute { 446 [cpp_enum_prefix_override="ax_attr"] enum AXFloatAttribute {
445 // Range attributes. 447 // Range attributes.
446 value_for_range, 448 value_for_range,
447 min_value_for_range, 449 min_value_for_range,
448 max_value_for_range, 450 max_value_for_range,
449 451
450 // Text attributes. 452 // Text attributes.
451 // Font size is in pixels. 453 // Font size is in pixels.
452 font_size 454 font_size
453 }; 455 };
454 456
455 [cpp_enum_prefix_override="ax_attr"] enum AXBoolAttribute { 457 [cpp_enum_prefix_override="ax_attr"] enum AXBoolAttribute {
456 // True if an ARIA toggle button, a checkbox or
457 // a menu item checkbox is in the "mixed" state.
458 STATE_mixed,
459
460 // Live region attributes. 458 // Live region attributes.
461 container_live_atomic, 459 container_live_atomic,
462 container_live_busy, 460 container_live_busy,
463 live_atomic, 461 live_atomic,
464 live_busy, 462 live_busy,
465 463
466 // If a dialog box is marked as explicitly modal 464 // If a dialog box is marked as explicitly modal
467 modal, 465 modal,
468 466
469 // ARIA readonly flag. 467 // ARIA readonly flag.
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
586 }; 584 };
587 585
588 enum AXInvalidState { 586 enum AXInvalidState {
589 false, 587 false,
590 true, 588 true,
591 spelling, 589 spelling,
592 grammar, 590 grammar,
593 other 591 other
594 }; 592 };
595 593
594 enum AXCheckedState {
595 false,
596 true,
597 mixed
598 };
599
596 enum AXSortDirection { 600 enum AXSortDirection {
597 unsorted, 601 unsorted,
598 ascending, 602 ascending,
599 descending, 603 descending,
600 other 604 other
601 }; 605 };
602 606
603 enum AXNameFrom { 607 enum AXNameFrom {
604 uninitialized, 608 uninitialized,
605 attribute, 609 attribute,
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
657 // First node is before the second one. 661 // First node is before the second one.
658 before, 662 before,
659 663
660 // Nodes are the same. 664 // Nodes are the same.
661 equal, 665 equal,
662 666
663 // First node is after the second one. 667 // First node is after the second one.
664 after 668 after
665 }; 669 };
666 }; 670 };
OLDNEW
« no previous file with comments | « third_party/WebKit/public/web/WebAXObject.h ('k') | ui/accessibility/ax_node_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698