OLD | NEW |
1 // Copyright (c) 2017 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2017 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_COM_WIN_H_ | 5 #ifndef CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_COM_WIN_H_ |
6 #define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_COM_WIN_H_ | 6 #define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_COM_WIN_H_ |
7 | 7 |
8 #include <atlbase.h> | 8 #include <atlbase.h> |
9 #include <atlcom.h> | 9 #include <atlcom.h> |
10 #include <oleacc.h> | 10 #include <oleacc.h> |
(...skipping 891 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
902 // Returns true if this is a list box option with a parent of type list box, | 902 // Returns true if this is a list box option with a parent of type list box, |
903 // or a menu list option with a parent of type menu list popup. | 903 // or a menu list option with a parent of type menu list popup. |
904 bool IsListBoxOptionOrMenuListOption(); | 904 bool IsListBoxOptionOrMenuListOption(); |
905 | 905 |
906 // For adding / removing IA2 relations. | 906 // For adding / removing IA2 relations. |
907 | 907 |
908 void AddRelation(const base::string16& relation_type, int target_id); | 908 void AddRelation(const base::string16& relation_type, int target_id); |
909 void AddBidirectionalRelations(const base::string16& relation_type, | 909 void AddBidirectionalRelations(const base::string16& relation_type, |
910 const base::string16& reverse_relation_type, | 910 const base::string16& reverse_relation_type, |
911 ui::AXIntListAttribute attribute); | 911 ui::AXIntListAttribute attribute); |
| 912 void AddBidirectionalRelations(const base::string16& relation_type, |
| 913 const base::string16& reverse_relation_type, |
| 914 const std::vector<int32_t>& target_ids); |
912 // Clears all the forward relations from this object to any other object and | 915 // Clears all the forward relations from this object to any other object and |
913 // the associated reverse relations on the other objects, but leaves any | 916 // the associated reverse relations on the other objects, but leaves any |
914 // reverse relations on this object alone. | 917 // reverse relations on this object alone. |
915 void ClearOwnRelations(); | 918 void ClearOwnRelations(); |
916 void RemoveBidirectionalRelationsOfType( | 919 void RemoveBidirectionalRelationsOfType( |
917 const base::string16& relation_type, | 920 const base::string16& relation_type, |
918 const base::string16& reverse_relation_type); | 921 const base::string16& reverse_relation_type); |
919 void RemoveTargetFromRelation(const base::string16& relation_type, | 922 void RemoveTargetFromRelation(const base::string16& relation_type, |
920 int target_id); | 923 int target_id); |
921 | 924 |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
987 | 990 |
988 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityComWin); | 991 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityComWin); |
989 }; | 992 }; |
990 | 993 |
991 CONTENT_EXPORT BrowserAccessibilityComWin* ToBrowserAccessibilityComWin( | 994 CONTENT_EXPORT BrowserAccessibilityComWin* ToBrowserAccessibilityComWin( |
992 BrowserAccessibility* obj); | 995 BrowserAccessibility* obj); |
993 | 996 |
994 } // namespace content | 997 } // namespace content |
995 | 998 |
996 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_COM_WIN_H_ | 999 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_COM_WIN_H_ |
OLD | NEW |