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

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

Issue 1952863003: Implemented the "aria-current" state on Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed switch statements to handle NONE case. Created 4 years, 7 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 // These should be kept in sync with third_party/WebKit/public/web/WebAXEnums.h 5 // These should be kept in sync with third_party/WebKit/public/web/WebAXEnums.h
6 // until the Chromium and Blink trees are merged. 6 // until the Chromium and Blink trees are merged.
7 [camel_case_enum_to_string=true] namespace ui { 7 [camel_case_enum_to_string=true] namespace ui {
8 8
9 // For new entries to the following three enums, also add to 9 // For new entries to the following three enums, also add to
10 // chrome/common/extensions/api/automation.idl. 10 // chrome/common/extensions/api/automation.idl.
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after
310 // Identifies a child tree which this node hosts. 310 // Identifies a child tree which this node hosts.
311 child_tree_id, 311 child_tree_id,
312 312
313 // Position or Number of items in current set of listitems or treeitems 313 // Position or Number of items in current set of listitems or treeitems
314 set_size, 314 set_size,
315 pos_in_set, 315 pos_in_set,
316 316
317 // In the case of AX_ROLE_COLOR_WELL, specifies the selected color. 317 // In the case of AX_ROLE_COLOR_WELL, specifies the selected color.
318 color_value, 318 color_value,
319 319
320 // Indicates the element that represents the current item within a container
321 // or set of related elements.
322 aria_current_state,
323
320 // Text attributes. 324 // Text attributes.
321 325
322 // Foreground and background color in RGBA. 326 // Foreground and background color in RGBA.
323 background_color, 327 background_color,
324 color, 328 color,
325 329
326 // Indicates if a form control has invalid input or 330 // Indicates if a form control has invalid input or
327 // if an element has an aria-invalid attribute. 331 // if an element has an aria-invalid attribute.
328 invalid_state, 332 invalid_state,
329 333
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
418 422
419 // A Java counterpart will be generated for this enum. 423 // A Java counterpart will be generated for this enum.
420 // GENERATED_JAVA_ENUM_PACKAGE: org.chromium.ui.accessibility 424 // GENERATED_JAVA_ENUM_PACKAGE: org.chromium.ui.accessibility
421 [cpp_enum_prefix_override="ax"] enum AXTextStyle { 425 [cpp_enum_prefix_override="ax"] enum AXTextStyle {
422 text_style_bold = 1, 426 text_style_bold = 1,
423 text_style_italic = 2, 427 text_style_italic = 2,
424 text_style_underline = 4, 428 text_style_underline = 4,
425 text_style_line_through = 8 429 text_style_line_through = 8
426 }; 430 };
427 431
432 [cpp_enum_prefix_override="ax"] enum AXAriaCurrentState {
433 aria_current_state_false,
434 aria_current_state_true,
435 aria_current_state_page,
436 aria_current_state_step,
437 aria_current_state_location,
438 aria_current_state_date,
439 aria_current_state_time
440 };
441
428 [cpp_enum_prefix_override="ax"] enum AXInvalidState { 442 [cpp_enum_prefix_override="ax"] enum AXInvalidState {
429 invalid_state_false, 443 invalid_state_false,
430 invalid_state_true, 444 invalid_state_true,
431 invalid_state_spelling, 445 invalid_state_spelling,
432 invalid_state_grammar, 446 invalid_state_grammar,
433 invalid_state_other 447 invalid_state_other
434 }; 448 };
435 449
436 [cpp_enum_prefix_override="ax"] enum AXSortDirection { 450 [cpp_enum_prefix_override="ax"] enum AXSortDirection {
437 sort_direction_unsorted, 451 sort_direction_unsorted,
(...skipping 12 matching lines...) Expand all
450 }; 464 };
451 465
452 [cpp_enum_prefix_override="ax"] enum AXDescriptionFrom { 466 [cpp_enum_prefix_override="ax"] enum AXDescriptionFrom {
453 description_from_uninitialized = 0, 467 description_from_uninitialized = 0,
454 description_from_attribute, 468 description_from_attribute,
455 description_from_contents, 469 description_from_contents,
456 description_from_placeholder, 470 description_from_placeholder,
457 description_from_related_element 471 description_from_related_element
458 }; 472 };
459 }; 473 };
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