Chromium Code Reviews| 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 // 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 523 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 534 }; | 534 }; |
| 535 | 535 |
| 536 enum AXMarkerType { | 536 enum AXMarkerType { |
| 537 // Assignments are ignored by the parser, but are kept here for clarity. | 537 // Assignments are ignored by the parser, but are kept here for clarity. |
| 538 spelling = 1, | 538 spelling = 1, |
| 539 grammar = 2, | 539 grammar = 2, |
| 540 spelling_grammar = 3, | 540 spelling_grammar = 3, |
| 541 text_match = 4, | 541 text_match = 4, |
| 542 spelling_text_match = 5, | 542 spelling_text_match = 5, |
| 543 grammar_text_match = 6, | 543 grammar_text_match = 6, |
| 544 spelling_grammar_text_match = 7 | 544 spelling_grammar_text_match = 7, |
| 545 // DocumentMarker::MarkerType::Composition = 8 is ignored for accessibility | |
|
rlanday
2017/06/06 19:27:41
Am I updating this file correctly? It's a little w
dmazzoni
2017/06/06 19:44:32
You're right, this doesn't scale.
Please add a TO
| |
| 546 // purposes | |
| 547 active_suggestion = 16, | |
| 548 spelling_active_suggestion = 17, | |
| 549 grammar_active_suggestion = 18, | |
| 550 spelling_grammar_active_suggestion = 19, | |
| 551 text_match_active_suggestion = 20, | |
| 552 spelling_text_match_active_suggestion = 21, | |
| 553 grammar_text_match_active_suggestion = 22, | |
| 554 spelling_grammar_text_match_active_suggestion = 23 | |
| 545 }; | 555 }; |
| 546 | 556 |
| 547 enum AXTextDirection { | 557 enum AXTextDirection { |
| 548 ltr, | 558 ltr, |
| 549 rtl, | 559 rtl, |
| 550 ttb, | 560 ttb, |
| 551 btt | 561 btt |
| 552 }; | 562 }; |
| 553 | 563 |
| 554 // A Java counterpart will be generated for this enum. | 564 // A Java counterpart will be generated for this enum. |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 661 // First node is before the second one. | 671 // First node is before the second one. |
| 662 before, | 672 before, |
| 663 | 673 |
| 664 // Nodes are the same. | 674 // Nodes are the same. |
| 665 equal, | 675 equal, |
| 666 | 676 |
| 667 // First node is after the second one. | 677 // First node is after the second one. |
| 668 after | 678 after |
| 669 }; | 679 }; |
| 670 }; | 680 }; |
| OLD | NEW |