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

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

Issue 2054393002: Implemented IAccessible2 reverse relations. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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_win.h
diff --git a/content/browser/accessibility/browser_accessibility_win.h b/content/browser/accessibility/browser_accessibility_win.h
index 8c8f45f93c3551d3eeb009e7ec834e513b489f14..5a28749d2f10224d548d19e68cbd2ed9c9058684 100644
--- a/content/browser/accessibility/browser_accessibility_win.h
+++ b/content/browser/accessibility/browser_accessibility_win.h
@@ -886,10 +886,11 @@ BrowserAccessibilityWin
// or a menu list option with a parent of type menu list popup.
bool IsListBoxOptionOrMenuListOption();
- // Given an int list attribute containing the ids of related elements,
- // add a new IAccessibleRelation for this object with the given type name.
- void AddRelations(ui::AXIntListAttribute src_attr,
- const base::string16& iaccessiblerelation_type);
+ // For adding IA2 relations.
+ void AddRelation(const base::string16& relation_type, int target_id);
+ void AddBidirectionalRelations(const base::string16& relation_type,
+ const base::string16& reverse_relation_type,
+ ui::AXIntListAttribute attribute);
// Updates object attributes of IA2 with html attributes.
void UpdateRequiredAttributes();

Powered by Google App Engine
This is Rietveld 408576698