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

Unified Diff: ui/accessibility/ax_view_state.h

Issue 2106953005: Mac: Add new accessibility attributes for textfields (and some for all views). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ax-attrs
Patch Set: Typo. Created 4 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
Index: ui/accessibility/ax_view_state.h
diff --git a/ui/accessibility/ax_view_state.h b/ui/accessibility/ax_view_state.h
index bc5af258ddcf3dd24833d2bd2a0ea810efa41100..46e55f89cabed8ddff24ef7630db2f59e7ed64b2 100644
--- a/ui/accessibility/ax_view_state.h
+++ b/ui/accessibility/ax_view_state.h
@@ -54,6 +54,9 @@ struct AX_EXPORT AXViewState {
// The keyboard shortcut to activate this view, if any.
base::string16 keyboard_shortcut;
+ // The view's placeholder value, used only for views with editable text.
+ base::string16 placeholder;
+
// The selection start and end. Only applies to views with text content,
// such as a text box or combo box; start and end should be -1 otherwise.
int selection_start;

Powered by Google App Engine
This is Rietveld 408576698