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: Source/core/accessibility/AXNodeObject.cpp

Issue 23983002: Expose InlineTextBoxes in the accessibility tree. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 7 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
« no previous file with comments | « Source/core/accessibility/AXInlineTextBox.cpp ('k') | Source/core/accessibility/AXObject.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/accessibility/AXNodeObject.cpp
diff --git a/Source/core/accessibility/AXNodeObject.cpp b/Source/core/accessibility/AXNodeObject.cpp
index 82e0cdc57206099baaf3a739c0109be293604518..2d5b5f4fa0838cc41df4ecf74d763745f748428c 100644
--- a/Source/core/accessibility/AXNodeObject.cpp
+++ b/Source/core/accessibility/AXNodeObject.cpp
@@ -1381,10 +1381,12 @@ bool AXNodeObject::canHaveChildren() const
case RadioButtonRole:
case TabRole:
case ToggleButtonRole:
- case StaticTextRole:
case ListBoxOptionRole:
case ScrollBarRole:
return false;
+ case StaticTextRole:
+ if (!axObjectCache()->inlineTextBoxAccessibility())
+ return false;
default:
return true;
}
« no previous file with comments | « Source/core/accessibility/AXInlineTextBox.cpp ('k') | Source/core/accessibility/AXObject.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698