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

Unified Diff: ui/accessibility/ax_enums.idl

Issue 2931473002: [ActiveSuggestionMarker #2.5] Handle ActiveSuggestionMarkers for accessibility (Closed)
Patch Set: Add TODO Created 3 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/public/web/WebAXEnums.h ('k') | ui/accessibility/ax_node_data.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/accessibility/ax_enums.idl
diff --git a/ui/accessibility/ax_enums.idl b/ui/accessibility/ax_enums.idl
index 013fb7e109f3478a3d1386a71d8f76cb0687a74e..3eb77fd515df5dc41449114a04c83e9947c15047 100644
--- a/ui/accessibility/ax_enums.idl
+++ b/ui/accessibility/ax_enums.idl
@@ -533,6 +533,8 @@
word_ends
};
+ // TODO(dmazzoni, nektar): make this list not grow exponentially as new
+ // MarkerTypes are added
enum AXMarkerType {
// Assignments are ignored by the parser, but are kept here for clarity.
spelling = 1,
@@ -541,7 +543,17 @@
text_match = 4,
spelling_text_match = 5,
grammar_text_match = 6,
- spelling_grammar_text_match = 7
+ spelling_grammar_text_match = 7,
+ // DocumentMarker::MarkerType::Composition = 8 is ignored for accessibility
+ // purposes
+ active_suggestion = 16,
+ spelling_active_suggestion = 17,
+ grammar_active_suggestion = 18,
+ spelling_grammar_active_suggestion = 19,
+ text_match_active_suggestion = 20,
+ spelling_text_match_active_suggestion = 21,
+ grammar_text_match_active_suggestion = 22,
+ spelling_grammar_text_match_active_suggestion = 23
};
enum AXTextDirection {
« no previous file with comments | « third_party/WebKit/public/web/WebAXEnums.h ('k') | ui/accessibility/ax_node_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698