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

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

Issue 1063383005: Chromium side Implementation to expose aria properties - setsize & posinset (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updating expectations on android Created 5 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_android.cc
diff --git a/content/browser/accessibility/browser_accessibility_android.cc b/content/browser/accessibility/browser_accessibility_android.cc
index 9bfd68a343175d8505db9081a250d982a5d68013..dcb723fc5e6b15fb0cf5761986f5aecaf6847c9e 100644
--- a/content/browser/accessibility/browser_accessibility_android.cc
+++ b/content/browser/accessibility/browser_accessibility_android.cc
@@ -445,7 +445,7 @@ int BrowserAccessibilityAndroid::GetItemIndex() const {
case ui::AX_ROLE_LIST_ITEM:
case ui::AX_ROLE_LIST_BOX_OPTION:
case ui::AX_ROLE_TREE_ITEM:
- index = GetIndexInParent();
+ index = GetIntAttribute(ui::AX_ATTR_POS_IN_SET) - 1;
break;
case ui::AX_ROLE_SLIDER:
case ui::AX_ROLE_PROGRESS_INDICATOR: {

Powered by Google App Engine
This is Rietveld 408576698