Chromium Code Reviews| 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 902 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 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; | 921 ui::AXPlatformNodeWin* GetPlatformNodeWin() const; |
| 922 | 922 |
| 923 static bool IsInTreeGrid(const BrowserAccessibility* item); | |
|
aleventhal
2017/04/12 15:36:31
Not sure if better as static, or does it not reall
| |
| 924 | |
| 923 struct WinAttributes { | 925 struct WinAttributes { |
| 924 WinAttributes(); | 926 WinAttributes(); |
| 925 ~WinAttributes(); | 927 ~WinAttributes(); |
| 926 | 928 |
| 927 // IAccessible role and state. | 929 // IAccessible role and state. |
| 928 int32_t ia_role; | 930 int32_t ia_role; |
| 929 int32_t ia_state; | 931 int32_t ia_state; |
| 930 base::string16 role_name; | 932 base::string16 role_name; |
| 931 | 933 |
| 932 // IAccessible name, description, help, value. | 934 // IAccessible name, description, help, value. |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 980 | 982 |
| 981 CONTENT_EXPORT BrowserAccessibilityWin* | 983 CONTENT_EXPORT BrowserAccessibilityWin* |
| 982 ToBrowserAccessibilityWin(BrowserAccessibility* obj); | 984 ToBrowserAccessibilityWin(BrowserAccessibility* obj); |
| 983 | 985 |
| 984 CONTENT_EXPORT const BrowserAccessibilityWin* | 986 CONTENT_EXPORT const BrowserAccessibilityWin* |
| 985 ToBrowserAccessibilityWin(const BrowserAccessibility* obj); | 987 ToBrowserAccessibilityWin(const BrowserAccessibility* obj); |
| 986 | 988 |
| 987 } // namespace content | 989 } // namespace content |
| 988 | 990 |
| 989 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_WIN_H_ | 991 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_WIN_H_ |
| OLD | NEW |