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

Unified Diff: ui/views/accessibility/native_view_accessibility_win.h

Issue 23983039: Merge 221688 "Implement put_accvalue for textfields and location..." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1599/src/
Patch Set: Created 7 years, 3 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/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

Powered by Google App Engine
This is Rietveld 408576698