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