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

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

Issue 844273002: Add option to not dump childrens of a node in AX Tree. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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 | « no previous file | content/browser/accessibility/dump_accessibility_tree_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/accessibility/browser_accessibility.cc
diff --git a/content/browser/accessibility/browser_accessibility.cc b/content/browser/accessibility/browser_accessibility.cc
index 2141fe3f982a5e6cc1a9fdf1ac5710e735524ab3..ced6ab537273391e1fda4a8f2d522850a54b0fb5 100644
--- a/content/browser/accessibility/browser_accessibility.cc
+++ b/content/browser/accessibility/browser_accessibility.cc
@@ -51,9 +51,12 @@ bool BrowserAccessibility::PlatformIsLeaf() const {
// implementation details, but we want to expose them as leaves
// to platform accessibility APIs.
switch (GetRole()) {
+ case ui::AX_ROLE_DATE:
dmazzoni 2015/01/13 22:34:49 Making the change here will actually make these co
+ case ui::AX_ROLE_DATE_TIME:
case ui::AX_ROLE_LINE_BREAK:
case ui::AX_ROLE_SLIDER:
case ui::AX_ROLE_STATIC_TEXT:
+ case ui::AX_ROLE_TIME:
case ui::AX_ROLE_TEXT_AREA:
case ui::AX_ROLE_TEXT_FIELD:
return true;
« no previous file with comments | « no previous file | content/browser/accessibility/dump_accessibility_tree_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698