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

Side by Side Diff: content/browser/accessibility/browser_accessibility_win.h

Issue 2812003004: A treegrid should expose its rows in MSAA/IA2 as outlineitems. (Closed)
Patch Set: Look at ARIA role when ax role is table. Only check one level up in rowgroup case. Don't look for t… Created 3 years, 8 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 unified diff | Download patch
« no previous file with comments | « no previous file | content/browser/accessibility/browser_accessibility_win.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « no previous file | content/browser/accessibility/browser_accessibility_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698