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 // 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 410 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
421 word_ends | 421 word_ends |
422 }; | 422 }; |
423 | 423 |
424 [cpp_enum_prefix_override="ax"] enum AXTextDirection { | 424 [cpp_enum_prefix_override="ax"] enum AXTextDirection { |
425 text_direction_ltr, | 425 text_direction_ltr, |
426 text_direction_rtl, | 426 text_direction_rtl, |
427 text_direction_ttb, | 427 text_direction_ttb, |
428 text_direction_btt | 428 text_direction_btt |
429 }; | 429 }; |
430 | 430 |
| 431 // A Java counterpart will be generated for this enum. |
| 432 // GENERATED_JAVA_ENUM_PACKAGE: org.chromium.ui.accessibility |
431 [cpp_enum_prefix_override="ax"] enum AXTextStyle { | 433 [cpp_enum_prefix_override="ax"] enum AXTextStyle { |
432 text_style_bold, | 434 text_style_bold = 1, |
433 text_style_italic, | 435 text_style_italic = 2, |
434 text_style_underline, | 436 text_style_underline = 4, |
435 text_style_line_through | 437 text_style_line_through = 8 |
436 }; | 438 }; |
437 | 439 |
438 [cpp_enum_prefix_override="ax"] enum AXInvalidState { | 440 [cpp_enum_prefix_override="ax"] enum AXInvalidState { |
439 invalid_state_false, | 441 invalid_state_false, |
440 invalid_state_true, | 442 invalid_state_true, |
441 invalid_state_spelling, | 443 invalid_state_spelling, |
442 invalid_state_grammar, | 444 invalid_state_grammar, |
443 invalid_state_other | 445 invalid_state_other |
444 }; | 446 }; |
445 | 447 |
446 [cpp_enum_prefix_override="ax"] enum AXSortDirection { | 448 [cpp_enum_prefix_override="ax"] enum AXSortDirection { |
447 sort_direction_unsorted, | 449 sort_direction_unsorted, |
448 sort_direction_ascending, | 450 sort_direction_ascending, |
449 sort_direction_descending, | 451 sort_direction_descending, |
450 sort_direction_other | 452 sort_direction_other |
451 }; | 453 }; |
452 | 454 |
453 }; | 455 }; |
OLD | NEW |