Index: ui/views/accessibility/native_view_accessibility_win.h |
=================================================================== |
--- ui/views/accessibility/native_view_accessibility_win.h (revision 223520) |
+++ ui/views/accessibility/native_view_accessibility_win.h (working copy) |
@@ -114,11 +114,12 @@ |
// Retrieves the current state of the specified object. |
STDMETHODIMP get_accState(VARIANT var_id, VARIANT* state); |
- // Retrieves the current value associated with the specified object. |
+ // Retrieve or set the string value associated with the specified object. |
+ // Setting the value is not typically used by screen readers, but it's |
+ // used frequently by automation software. |
STDMETHODIMP get_accValue(VARIANT var_id, BSTR* value); |
+ STDMETHODIMP put_accValue(VARIANT var_id, BSTR new_value); |
- // Non-supported IAccessible methods. |
- |
// Selections not applicable to views. |
STDMETHODIMP get_accSelection(VARIANT* selected); |
STDMETHODIMP accSelect(LONG flags_sel, VARIANT var_id); |
@@ -131,7 +132,6 @@ |
// Deprecated functions, not implemented here. |
STDMETHODIMP put_accName(VARIANT var_id, BSTR put_name); |
- STDMETHODIMP put_accValue(VARIANT var_id, BSTR put_val); |
// |
// IAccessible2 |