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

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

Issue 2763043002: Implement BrowserAccessibility accLocation in terms of AXPlatformNodeWin. (Closed)
Patch Set: Implement BrowserAccessibility accLocation in terms of AXPlatformNodeWin. 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 900 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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_
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