| 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..d7bd920a894f44898fe32125c3581db0446f49a4 100644
|
| --- a/content/browser/accessibility/browser_accessibility_win.h
|
| +++ b/content/browser/accessibility/browser_accessibility_win.h
|
| @@ -886,10 +886,21 @@ 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 / removing 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);
|
| + // Clears all the forward relations from this object to any other object and
|
| + // the associated reverse relations on the other objects, but leaves any
|
| + // reverse relations on this object alone.
|
| + void ClearOwnRelations();
|
| + void RemoveBidirectionalRelationsOfType(
|
| + const base::string16& relation_type,
|
| + const base::string16& reverse_relation_type);
|
| + void RemoveTargetFromRelation(const base::string16& relation_type,
|
| + int target_id);
|
|
|
| // Updates object attributes of IA2 with html attributes.
|
| void UpdateRequiredAttributes();
|
|
|