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/public/test/accessibility_test_utils_win.h" | 5 #include "content/public/test/accessibility_test_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 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
256 if (it->first & ia2_state) | 256 if (it->first & ia2_state) |
257 result->push_back(it->second); | 257 result->push_back(it->second); |
258 } | 258 } |
259 } | 259 } |
260 | 260 |
261 string16 IAccessible2StateToString(int32 ia2_state) { | 261 string16 IAccessible2StateToString(int32 ia2_state) { |
262 std::vector<string16> strings; | 262 std::vector<string16> strings; |
263 IAccessible2StateToStringVector(ia2_state, &strings); | 263 IAccessible2StateToStringVector(ia2_state, &strings); |
264 return JoinString(strings, ','); | 264 return JoinString(strings, ','); |
265 } | 265 } |
OLD | NEW |