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

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

Issue 1925473002: Add verbose logging for native accessibility events. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@load_complete
Patch Set: address all feedback Created 4 years, 7 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
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 870 matching lines...) Expand 10 before | Expand all | Expand 10 after
881 bool IsListBoxOptionOrMenuListOption(); 881 bool IsListBoxOptionOrMenuListOption();
882 882
883 // Given an int list attribute containing the ids of related elements, 883 // Given an int list attribute containing the ids of related elements,
884 // add a new IAccessibleRelation for this object with the given type name. 884 // add a new IAccessibleRelation for this object with the given type name.
885 void AddRelations(ui::AXIntListAttribute src_attr, 885 void AddRelations(ui::AXIntListAttribute src_attr,
886 const base::string16& iaccessiblerelation_type); 886 const base::string16& iaccessiblerelation_type);
887 887
888 // Updates object attributes of IA2 with html attributes. 888 // Updates object attributes of IA2 with html attributes.
889 void UpdateRequiredAttributes(); 889 void UpdateRequiredAttributes();
890 890
891 // Updates the IA2 text style attributes. 891 // Fire a Windows-specific accessibility event notification on this node.
892 void UpdateTextAttributes(); 892 void FireNativeEvent(LONG win_event_type) const;
893 893
894 struct WinAttributes { 894 struct WinAttributes {
895 WinAttributes(); 895 WinAttributes();
896 ~WinAttributes(); 896 ~WinAttributes();
897 897
898 // IAccessible role and state. 898 // IAccessible role and state.
899 int32_t ia_role; 899 int32_t ia_role;
900 int32_t ia_state; 900 int32_t ia_state;
901 base::string16 role_name; 901 base::string16 role_name;
902 902
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
949 949
950 CONTENT_EXPORT BrowserAccessibilityWin* 950 CONTENT_EXPORT BrowserAccessibilityWin*
951 ToBrowserAccessibilityWin(BrowserAccessibility* obj); 951 ToBrowserAccessibilityWin(BrowserAccessibility* obj);
952 952
953 CONTENT_EXPORT const BrowserAccessibilityWin* 953 CONTENT_EXPORT const BrowserAccessibilityWin*
954 ToBrowserAccessibilityWin(const BrowserAccessibility* obj); 954 ToBrowserAccessibilityWin(const BrowserAccessibility* obj);
955 955
956 } // namespace content 956 } // namespace content
957 957
958 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_WIN_H_ 958 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698