OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_WIN_H_ | 5 #ifndef CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_WIN_H_ |
6 #define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_WIN_H_ | 6 #define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_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 900 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
911 const base::string16& reverse_relation_type); | 911 const base::string16& reverse_relation_type); |
912 void RemoveTargetFromRelation(const base::string16& relation_type, | 912 void RemoveTargetFromRelation(const base::string16& relation_type, |
913 int target_id); | 913 int target_id); |
914 | 914 |
915 // Updates object attributes of IA2 with html attributes. | 915 // Updates object attributes of IA2 with html attributes. |
916 void UpdateRequiredAttributes(); | 916 void UpdateRequiredAttributes(); |
917 | 917 |
918 // Fire a Windows-specific accessibility event notification on this node. | 918 // Fire a Windows-specific accessibility event notification on this node. |
919 void FireNativeEvent(LONG win_event_type) const; | 919 void FireNativeEvent(LONG win_event_type) const; |
920 | 920 |
| 921 ui::AXPlatformNodeWin* GetPlatformNodeWin() const; |
| 922 |
921 struct WinAttributes { | 923 struct WinAttributes { |
922 WinAttributes(); | 924 WinAttributes(); |
923 ~WinAttributes(); | 925 ~WinAttributes(); |
924 | 926 |
925 // IAccessible role and state. | 927 // IAccessible role and state. |
926 int32_t ia_role; | 928 int32_t ia_role; |
927 int32_t ia_state; | 929 int32_t ia_state; |
928 base::string16 role_name; | 930 base::string16 role_name; |
929 | 931 |
930 // IAccessible name, description, help, value. | 932 // IAccessible name, description, help, value. |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
978 | 980 |
979 CONTENT_EXPORT BrowserAccessibilityWin* | 981 CONTENT_EXPORT BrowserAccessibilityWin* |
980 ToBrowserAccessibilityWin(BrowserAccessibility* obj); | 982 ToBrowserAccessibilityWin(BrowserAccessibility* obj); |
981 | 983 |
982 CONTENT_EXPORT const BrowserAccessibilityWin* | 984 CONTENT_EXPORT const BrowserAccessibilityWin* |
983 ToBrowserAccessibilityWin(const BrowserAccessibility* obj); | 985 ToBrowserAccessibilityWin(const BrowserAccessibility* obj); |
984 | 986 |
985 } // namespace content | 987 } // namespace content |
986 | 988 |
987 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_WIN_H_ | 989 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_WIN_H_ |
OLD | NEW |