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

Side by Side Diff: views/accessibility/view_accessibility.h

Issue 2823009: Keep a map of all views that have sent notifications. This ensures that Acce... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « views/accessibility/accessibility_types.h ('k') | views/accessibility/view_accessibility.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 VIEWS_ACCESSIBILITY_VIEW_ACCESSIBILITY_H_ 5 #ifndef VIEWS_ACCESSIBILITY_VIEW_ACCESSIBILITY_H_
6 #define VIEWS_ACCESSIBILITY_VIEW_ACCESSIBILITY_H_ 6 #define VIEWS_ACCESSIBILITY_VIEW_ACCESSIBILITY_H_
7 7
8 #include <atlbase.h> 8 #include <atlbase.h>
9 #include <atlcom.h> 9 #include <atlcom.h>
10 10
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 // Help functions not supported. 96 // Help functions not supported.
97 STDMETHODIMP get_accHelp(VARIANT var_id, BSTR* help); 97 STDMETHODIMP get_accHelp(VARIANT var_id, BSTR* help);
98 STDMETHODIMP get_accHelpTopic(BSTR* help_file, 98 STDMETHODIMP get_accHelpTopic(BSTR* help_file,
99 VARIANT var_id, 99 VARIANT var_id,
100 LONG* topic_id); 100 LONG* topic_id);
101 101
102 // Deprecated functions, not implemented here. 102 // Deprecated functions, not implemented here.
103 STDMETHODIMP put_accName(VARIANT var_id, BSTR put_name); 103 STDMETHODIMP put_accName(VARIANT var_id, BSTR put_name);
104 STDMETHODIMP put_accValue(VARIANT var_id, BSTR put_val); 104 STDMETHODIMP put_accValue(VARIANT var_id, BSTR put_val);
105 105
106 // Returns a conversion from the event (as defined in accessibility_types.h)
107 // to an MSAA event.
108 static int32 MSAAEvent(AccessibilityTypes::Event event);
109
106 // Returns a conversion from the Role (as defined in accessibility_types.h) 110 // Returns a conversion from the Role (as defined in accessibility_types.h)
107 // to an MSAA role. 111 // to an MSAA role.
108 static int32 MSAARole(AccessibilityTypes::Role role); 112 static int32 MSAARole(AccessibilityTypes::Role role);
109 113
110 // Returns a conversion from the State (as defined in accessibility_types.h) 114 // Returns a conversion from the State (as defined in accessibility_types.h)
111 // to MSAA states set. 115 // to MSAA states set.
112 static int32 MSAAState(AccessibilityTypes::State state); 116 static int32 MSAAState(AccessibilityTypes::State state);
113 117
114 private: 118 private:
115 // Checks to see if child_id is within the child bounds of view. Returns true 119 // Checks to see if child_id is within the child bounds of view. Returns true
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 // Member View needed for view-specific calls. 151 // Member View needed for view-specific calls.
148 views::View* view_; 152 views::View* view_;
149 153
150 DISALLOW_COPY_AND_ASSIGN(ViewAccessibility); 154 DISALLOW_COPY_AND_ASSIGN(ViewAccessibility);
151 }; 155 };
152 156
153 extern const wchar_t kViewsUninitializeAccessibilityInstance[]; 157 extern const wchar_t kViewsUninitializeAccessibilityInstance[];
154 extern const wchar_t kViewsNativeHostPropForAccessibility[]; 158 extern const wchar_t kViewsNativeHostPropForAccessibility[];
155 159
156 #endif // VIEWS_ACCESSIBILITY_VIEW_ACCESSIBILITY_H_ 160 #endif // VIEWS_ACCESSIBILITY_VIEW_ACCESSIBILITY_H_
OLDNEW
« no previous file with comments | « views/accessibility/accessibility_types.h ('k') | views/accessibility/view_accessibility.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698