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

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

Issue 2684543002: Finish implementation and tests of 5 ARIA 1.1 attributes. (Closed)
Patch Set: Update expectations Created 3 years, 10 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
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 317 matching lines...) Expand 10 before | Expand all | Expand 10 after
328 auto_complete, 328 auto_complete,
329 chrome_channel, // Automation only. 329 chrome_channel, // Automation only.
330 container_live_relevant, 330 container_live_relevant,
331 container_live_status, 331 container_live_status,
332 description, 332 description,
333 display, 333 display,
334 // Only present when different from parent. 334 // Only present when different from parent.
335 font_family, 335 font_family,
336 html_tag, 336 html_tag,
337 image_data_url, 337 image_data_url,
338 key_shortcuts,
338 // Only present when different from parent. 339 // Only present when different from parent.
339 language, 340 language,
340 name, 341 name,
341 live_relevant, 342 live_relevant,
342 live_status, 343 live_status,
343 placeholder, 344 placeholder,
344 role, 345 role,
346 role_description,
345 shortcut, 347 shortcut,
346 url, 348 url,
347 value 349 value
348 }; 350 };
349 351
350 [cpp_enum_prefix_override="ax_attr"] enum AXIntAttribute { 352 [cpp_enum_prefix_override="ax_attr"] enum AXIntAttribute {
351 action, 353 action,
352 // Scrollable container attributes. 354 // Scrollable container attributes.
353 scroll_x, 355 scroll_x,
354 scroll_x_min, 356 scroll_x_min,
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
393 // What information was used to compute the object's name 395 // What information was used to compute the object's name
394 // (of type AXNameFrom). 396 // (of type AXNameFrom).
395 name_from, 397 name_from,
396 398
397 // What information was used to compute the object's description 399 // What information was used to compute the object's description
398 // (of type AXDescriptionFrom). 400 // (of type AXDescriptionFrom).
399 description_from, 401 description_from,
400 402
401 // Relationships between this element and other elements. 403 // Relationships between this element and other elements.
402 activedescendant_id, 404 activedescendant_id,
405 errormessage_id,
403 member_of_id, 406 member_of_id,
404 next_on_line_id, 407 next_on_line_id,
405 previous_on_line_id, 408 previous_on_line_id,
406 409
407 // Identifies a child tree which this node hosts. 410 // Identifies a child tree which this node hosts.
408 child_tree_id, 411 child_tree_id,
409 412
410 // Position or Number of items in current set of listitems or treeitems 413 // Position or Number of items in current set of listitems or treeitems
411 set_size, 414 set_size,
412 pos_in_set, 415 pos_in_set,
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
450 // True if an ARIA toggle button, a checkbox or 453 // True if an ARIA toggle button, a checkbox or
451 // a menu item checkbox is in the "mixed" state. 454 // a menu item checkbox is in the "mixed" state.
452 STATE_mixed, 455 STATE_mixed,
453 456
454 // Live region attributes. 457 // Live region attributes.
455 container_live_atomic, 458 container_live_atomic,
456 container_live_busy, 459 container_live_busy,
457 live_atomic, 460 live_atomic,
458 live_busy, 461 live_busy,
459 462
463 // If a dialog box is marked as explicitly modal
464 modal,
465
460 // ARIA readonly flag. 466 // ARIA readonly flag.
461 aria_readonly, 467 aria_readonly,
462 468
463 // Writeable attributes 469 // Writeable attributes
464 can_set_value, 470 can_set_value,
465 471
466 // If this is set, all of the other fields in this struct should 472 // If this is set, all of the other fields in this struct should
467 // be ignored and only the locations should change. 473 // be ignored and only the locations should change.
468 update_location_only, 474 update_location_only,
469 475
470 // Set on a canvas element if it has fallback content. 476 // Set on a canvas element if it has fallback content.
471 canvas_has_fallback 477 canvas_has_fallback
472 }; 478 };
473 479
474 [cpp_enum_prefix_override="ax_attr"] enum AXIntListAttribute { 480 [cpp_enum_prefix_override="ax_attr"] enum AXIntListAttribute {
475 // Ids of nodes that are children of this node logically, but are 481 // Ids of nodes that are children of this node logically, but are
476 // not children of this node in the tree structure. As an example, 482 // not children of this node in the tree structure. As an example,
477 // a table cell is a child of a row, and an 'indirect' child of a 483 // a table cell is a child of a row, and an 'indirect' child of a
478 // column. 484 // column.
479 indirect_child_ids, 485 indirect_child_ids,
480 486
481 // Relationships between this element and other elements. 487 // Relationships between this element and other elements.
482 controls_ids, 488 controls_ids,
483 describedby_ids, 489 describedby_ids,
490 details_ids,
484 flowto_ids, 491 flowto_ids,
485 labelledby_ids, 492 labelledby_ids,
486 493
487 // For static text. Character indices where line breaks occur. Note that 494 // For static text. Character indices where line breaks occur. Note that
488 // this attribute is only available on Chrome OS and will be deprecated 495 // this attribute is only available on Chrome OS and will be deprecated
489 // soon. 496 // soon.
490 line_breaks, 497 line_breaks,
491 498
492 // For static text. These int lists must be the same size; they represent 499 // For static text. These int lists must be the same size; they represent
493 // the start and end character offset of each marker. Examples of markers 500 // the start and end character offset of each marker. Examples of markers
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
646 // First node is before the second one. 653 // First node is before the second one.
647 before, 654 before,
648 655
649 // Nodes are the same. 656 // Nodes are the same.
650 equal, 657 equal,
651 658
652 // First node is after the second one. 659 // First node is after the second one.
653 after 660 after
654 }; 661 };
655 }; 662 };
OLDNEW
« no previous file with comments | « content/test/data/accessibility/aria/aria-roledescription-expected-win.txt ('k') | ui/accessibility/ax_node_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698