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

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

Issue 1416873015: Text controls should expose their value instead of their name via IAccessibleText (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added browser tests and re-introduced IsControl. Expanded unit test. Created 5 years, 2 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.h
diff --git a/content/browser/accessibility/browser_accessibility.h b/content/browser/accessibility/browser_accessibility.h
index 10bde83c4f3db5203b3028425ad448bb930422d3..1dda9acd474e4fd5447ded26b073be1fcc409906 100644
--- a/content/browser/accessibility/browser_accessibility.h
+++ b/content/browser/accessibility/browser_accessibility.h
@@ -274,8 +274,9 @@ class CONTENT_EXPORT BrowserAccessibility {
// True if this is a web area, and its grandparent is a presentational iframe.
bool IsWebAreaForPresentationalIframe() const;
- // Is any control, like a button, text field, etc.
bool IsControl() const;
aboxhall 2015/10/30 19:40:45 Perhaps reinstate the method comment as well?
+ // Indicates whether this is a control with a visible value, like a combo box.
+ bool IsControlWithVisibleValue() const;
protected:
BrowserAccessibility();

Powered by Google App Engine
This is Rietveld 408576698