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

Side by Side Diff: content/browser/accessibility/accessibility_tree_formatter_utils_win.cc

Issue 607803002: IAccessible2 state not defined for input type checkbox. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@323161exposeinputtypes
Patch Set: Updating expectations file Created 6 years, 2 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 #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
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)
shreeramk 2014/09/26 18:42:16 IA2_STATE_CHECKABLE was handled here but how to ha
dmazzoni 2014/09/26 18:52:43 Those are defined above: IA_STATE_MAP(CHECKED) IA
shreeramk 2014/09/26 19:14:43 But according to specs STATE_SYSTEM_CHECKED and ST
dmazzoni 2014/09/29 05:44:06 No, you're misunderstanding the spec. IAccessible
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698