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

Unified Diff: content/browser/accessibility/browser_accessibility_com_win.h

Issue 2890723003: Slider events with valuetext (Closed)
Patch Set: Fix test Created 3 years, 7 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: content/browser/accessibility/browser_accessibility_com_win.h
diff --git a/content/browser/accessibility/browser_accessibility_com_win.h b/content/browser/accessibility/browser_accessibility_com_win.h
index c7794a01ae2adf9dd7b16dd192eb3abadd029e53..5af7e2679ce3bf19b8ed350f51997085765aef0f 100644
--- a/content/browser/accessibility/browser_accessibility_com_win.h
+++ b/content/browser/accessibility/browser_accessibility_com_win.h
@@ -857,9 +857,13 @@ class __declspec(uuid("562072fe-3390-43b1-9e2c-dd4118f5ac79"))
// selection.)
void GetSelectionOffsets(int* selection_start, int* selection_end) const;
- // Get the value text, which might come from the floating-point
- // value for some roles.
- base::string16 GetValueText();
+ // Get the range value text, which might come from aria-valuetext or
+ // a floating-point value. This is different from the value string
+ // attribute used in input controls such as text boxes and combo boxes.
+ base::string16 GetRangeValueText();
+
+ // Return true for roles that support the value interface
+ bool IsRangeValueSupported();
bool IsSameHypertextCharacter(size_t old_char_index, size_t new_char_index);
void ComputeHypertextRemovedAndInserted(int* start,

Powered by Google App Engine
This is Rietveld 408576698