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

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

Issue 2587343004: Finish implementation and tests of 5 ARIA 1.1 attributes. (Closed)
Patch Set: Rebase on previous change Created 4 years 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 314 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 aria_invalid_value, 325 aria_invalid_value,
326 auto_complete, 326 auto_complete,
327 container_live_relevant, 327 container_live_relevant,
328 container_live_status, 328 container_live_status,
329 description, 329 description,
330 display, 330 display,
331 // Only present when different from parent. 331 // Only present when different from parent.
332 font_family, 332 font_family,
333 html_tag, 333 html_tag,
334 image_data_url, 334 image_data_url,
335 key_shortcuts,
335 // Only present when different from parent. 336 // Only present when different from parent.
336 language, 337 language,
337 name, 338 name,
338 live_relevant, 339 live_relevant,
339 live_status, 340 live_status,
340 placeholder, 341 placeholder,
341 role, 342 role,
343 role_description,
342 shortcut, 344 shortcut,
343 url, 345 url,
344 value 346 value
345 }; 347 };
346 348
347 [cpp_enum_prefix_override="ax_attr"] enum AXIntAttribute { 349 [cpp_enum_prefix_override="ax_attr"] enum AXIntAttribute {
348 action, 350 action,
349 // Scrollable container attributes. 351 // Scrollable container attributes.
350 scroll_x, 352 scroll_x,
351 scroll_x_min, 353 scroll_x_min,
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
384 // What information was used to compute the object's name 386 // What information was used to compute the object's name
385 // (of type AXNameFrom). 387 // (of type AXNameFrom).
386 name_from, 388 name_from,
387 389
388 // What information was used to compute the object's description 390 // What information was used to compute the object's description
389 // (of type AXDescriptionFrom). 391 // (of type AXDescriptionFrom).
390 description_from, 392 description_from,
391 393
392 // Relationships between this element and other elements. 394 // Relationships between this element and other elements.
393 activedescendant_id, 395 activedescendant_id,
396 errormessage_id,
394 member_of_id, 397 member_of_id,
395 next_on_line_id, 398 next_on_line_id,
396 previous_on_line_id, 399 previous_on_line_id,
397 400
398 // Identifies a child tree which this node hosts. 401 // Identifies a child tree which this node hosts.
399 child_tree_id, 402 child_tree_id,
400 403
401 // Position or Number of items in current set of listitems or treeitems 404 // Position or Number of items in current set of listitems or treeitems
402 set_size, 405 set_size,
403 pos_in_set, 406 pos_in_set,
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
441 // True if an ARIA toggle button, a checkbox or 444 // True if an ARIA toggle button, a checkbox or
442 // a menu item checkbox is in the "mixed" state. 445 // a menu item checkbox is in the "mixed" state.
443 STATE_mixed, 446 STATE_mixed,
444 447
445 // Live region attributes. 448 // Live region attributes.
446 container_live_atomic, 449 container_live_atomic,
447 container_live_busy, 450 container_live_busy,
448 live_atomic, 451 live_atomic,
449 live_busy, 452 live_busy,
450 453
454 // If a dialog box is marked as explicitly modal
455 modal,
456
451 // ARIA readonly flag. 457 // ARIA readonly flag.
452 aria_readonly, 458 aria_readonly,
453 459
454 // Writeable attributes 460 // Writeable attributes
455 can_set_value, 461 can_set_value,
456 462
457 // If this is set, all of the other fields in this struct should 463 // If this is set, all of the other fields in this struct should
458 // be ignored and only the locations should change. 464 // be ignored and only the locations should change.
459 update_location_only, 465 update_location_only,
460 466
461 // Set on a canvas element if it has fallback content. 467 // Set on a canvas element if it has fallback content.
462 canvas_has_fallback 468 canvas_has_fallback
463 }; 469 };
464 470
465 [cpp_enum_prefix_override="ax_attr"] enum AXIntListAttribute { 471 [cpp_enum_prefix_override="ax_attr"] enum AXIntListAttribute {
466 // Ids of nodes that are children of this node logically, but are 472 // Ids of nodes that are children of this node logically, but are
467 // not children of this node in the tree structure. As an example, 473 // not children of this node in the tree structure. As an example,
468 // a table cell is a child of a row, and an 'indirect' child of a 474 // a table cell is a child of a row, and an 'indirect' child of a
469 // column. 475 // column.
470 indirect_child_ids, 476 indirect_child_ids,
471 477
472 // Relationships between this element and other elements. 478 // Relationships between this element and other elements.
473 controls_ids, 479 controls_ids,
474 describedby_ids, 480 describedby_ids,
481 details_ids,
475 flowto_ids, 482 flowto_ids,
476 labelledby_ids, 483 labelledby_ids,
477 484
478 // For static text. Character indices where line breaks occur. Note that 485 // For static text. Character indices where line breaks occur. Note that
479 // this attribute is only available on Chrome OS and will be deprecated 486 // this attribute is only available on Chrome OS and will be deprecated
480 // soon. 487 // soon.
481 line_breaks, 488 line_breaks,
482 489
483 // For static text. These int lists must be the same size; they represent 490 // For static text. These int lists must be the same size; they represent
484 // the start and end character offset of each marker. Examples of markers 491 // the start and end character offset of each marker. Examples of markers
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
637 // First node is before the second one. 644 // First node is before the second one.
638 before, 645 before,
639 646
640 // Nodes are the same. 647 // Nodes are the same.
641 equal, 648 equal,
642 649
643 // First node is after the second one. 650 // First node is after the second one.
644 after 651 after
645 }; 652 };
646 }; 653 };
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/modules/accessibility/InspectorAccessibilityAgent.cpp ('k') | ui/accessibility/ax_node_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698