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 514 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
525 | 525 |
526 // Used for caching. Do not read directly. Use | 526 // Used for caching. Do not read directly. Use |
527 // |AXNode::GetOrComputeLineStartOffsets| | 527 // |AXNode::GetOrComputeLineStartOffsets| |
528 // For all text fields and content editable roots: A list of the start | 528 // For all text fields and content editable roots: A list of the start |
529 // offsets of each line inside this object. | 529 // offsets of each line inside this object. |
530 cached_line_starts, | 530 cached_line_starts, |
531 | 531 |
532 // For inline text. These int lists must be the same size; they represent | 532 // For inline text. These int lists must be the same size; they represent |
533 // the start and end character offset of each word within this text. | 533 // the start and end character offset of each word within this text. |
534 word_starts, | 534 word_starts, |
535 word_ends | 535 word_ends, |
536 | |
537 custom_action_ids | |
David Tseng
2017/05/15 15:20:00
nit: .. // arc
| |
538 }; | |
539 | |
540 [cpp_enum_prefix_override="ax_attr"] enum AXStringListAttribute { | |
541 custom_action_descriptions | |
David Tseng
2017/05/15 15:20:00
You can avoid doing this if you delimit via commas
yawano
2017/05/15 23:18:16
I think adding string list attribute is more strai
David Tseng
2017/05/16 22:18:55
Fair enough. You'll have to add string list attrib
| |
536 }; | 542 }; |
537 | 543 |
538 enum AXMarkerType { | 544 enum AXMarkerType { |
539 // Assignments are ignored by the parser, but are kept here for clarity. | 545 // Assignments are ignored by the parser, but are kept here for clarity. |
540 spelling = 1, | 546 spelling = 1, |
541 grammar = 2, | 547 grammar = 2, |
542 spelling_grammar = 3, | 548 spelling_grammar = 3, |
543 text_match = 4, | 549 text_match = 4, |
544 spelling_text_match = 5, | 550 spelling_text_match = 5, |
545 grammar_text_match = 6, | 551 grammar_text_match = 6, |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
663 // First node is before the second one. | 669 // First node is before the second one. |
664 before, | 670 before, |
665 | 671 |
666 // Nodes are the same. | 672 // Nodes are the same. |
667 equal, | 673 equal, |
668 | 674 |
669 // First node is after the second one. | 675 // First node is after the second one. |
670 after | 676 after |
671 }; | 677 }; |
672 }; | 678 }; |
OLD | NEW |