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

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

Issue 2833843005: Handling of different types of empty alt (Closed)
Patch Set: Ready to land Created 3 years, 8 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 e16474cdd7d4b8bfb4339d2198ec2ed15a2ec86b..44ec13cd953d8062b175288e24c89f79b870d011 100644
--- a/content/browser/accessibility/browser_accessibility.h
+++ b/content/browser/accessibility/browser_accessibility.h
@@ -378,6 +378,9 @@ class CONTENT_EXPORT BrowserAccessibility : public ui::AXPlatformNodeDelegate {
// Indicates if this object is at the root of a rich edit text control.
bool IsRichTextControl() const;
+ // Return true if the accessible name was explicitly set to "" by the author
+ bool HasExplicitlyEmptyName() const;
+
// If an object is focusable but has no accessible name, use this
// to compute a name from its descendants.
std::string ComputeAccessibleNameFromDescendants();

Powered by Google App Engine
This is Rietveld 408576698