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 #include "content/browser/accessibility/accessibility_tree_formatter_utils_win.h
" | 5 #include "content/browser/accessibility/accessibility_tree_formatter_utils_win.h
" |
6 | 6 |
7 #include <oleacc.h> | 7 #include <oleacc.h> |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 #include <string> | 10 #include <string> |
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
190 IA_STATE_MAP(SELECTABLE) | 190 IA_STATE_MAP(SELECTABLE) |
191 IA_STATE_MAP(SELECTED) | 191 IA_STATE_MAP(SELECTED) |
192 IA_STATE_MAP(SELFVOICING) | 192 IA_STATE_MAP(SELFVOICING) |
193 IA_STATE_MAP(SIZEABLE) | 193 IA_STATE_MAP(SIZEABLE) |
194 IA_STATE_MAP(TRAVERSED) | 194 IA_STATE_MAP(TRAVERSED) |
195 IA_STATE_MAP(UNAVAILABLE) | 195 IA_STATE_MAP(UNAVAILABLE) |
196 | 196 |
197 // IAccessible2 states. | 197 // IAccessible2 states. |
198 IA2_STATE_MAP(IA2_STATE_ACTIVE) | 198 IA2_STATE_MAP(IA2_STATE_ACTIVE) |
199 IA2_STATE_MAP(IA2_STATE_ARMED) | 199 IA2_STATE_MAP(IA2_STATE_ARMED) |
| 200 IA2_STATE_MAP(IA2_STATE_CHECKABLE) |
200 IA2_STATE_MAP(IA2_STATE_DEFUNCT) | 201 IA2_STATE_MAP(IA2_STATE_DEFUNCT) |
201 IA2_STATE_MAP(IA2_STATE_EDITABLE) | 202 IA2_STATE_MAP(IA2_STATE_EDITABLE) |
202 IA2_STATE_MAP(IA2_STATE_ICONIFIED) | 203 IA2_STATE_MAP(IA2_STATE_ICONIFIED) |
203 IA2_STATE_MAP(IA2_STATE_INVALID_ENTRY) | 204 IA2_STATE_MAP(IA2_STATE_INVALID_ENTRY) |
204 IA2_STATE_MAP(IA2_STATE_MANAGES_DESCENDANTS) | 205 IA2_STATE_MAP(IA2_STATE_MANAGES_DESCENDANTS) |
205 IA2_STATE_MAP(IA2_STATE_MODAL) | 206 IA2_STATE_MAP(IA2_STATE_MODAL) |
206 IA2_STATE_MAP(IA2_STATE_MULTI_LINE) | 207 IA2_STATE_MAP(IA2_STATE_MULTI_LINE) |
207 IA2_STATE_MAP(IA2_STATE_REQUIRED) | 208 IA2_STATE_MAP(IA2_STATE_REQUIRED) |
208 IA2_STATE_MAP(IA2_STATE_SELECTABLE_TEXT) | 209 IA2_STATE_MAP(IA2_STATE_SELECTABLE_TEXT) |
209 IA2_STATE_MAP(IA2_STATE_SINGLE_LINE) | 210 IA2_STATE_MAP(IA2_STATE_SINGLE_LINE) |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
256 } | 257 } |
257 } | 258 } |
258 | 259 |
259 base::string16 IAccessible2StateToString(int32 ia2_state) { | 260 base::string16 IAccessible2StateToString(int32 ia2_state) { |
260 std::vector<base::string16> strings; | 261 std::vector<base::string16> strings; |
261 IAccessible2StateToStringVector(ia2_state, &strings); | 262 IAccessible2StateToStringVector(ia2_state, &strings); |
262 return JoinString(strings, ','); | 263 return JoinString(strings, ','); |
263 } | 264 } |
264 | 265 |
265 } // namespace content | 266 } // namespace content |
OLD | NEW |