Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 // These should be kept in sync with third_party/WebKit/public/web/WebAXEnums.h | 5 // These should be kept in sync with third_party/WebKit/public/web/WebAXEnums.h |
| 6 // until the Chromium and Blink trees are merged. | 6 // until the Chromium and Blink trees are merged. |
| 7 [camel_case_enum_to_string=true] namespace ui { | 7 [camel_case_enum_to_string=true] namespace ui { |
| 8 | 8 |
| 9 // For new entries to the following three enums, also add to | 9 // For new entries to the following three enums, also add to |
| 10 // chrome/common/extensions/api/automation.idl. | 10 // chrome/common/extensions/api/automation.idl. |
| (...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 177 tree_grid, | 177 tree_grid, |
| 178 tree_item, | 178 tree_item, |
| 179 tree, | 179 tree, |
| 180 unknown, | 180 unknown, |
| 181 tooltip, | 181 tooltip, |
| 182 web_area, | 182 web_area, |
| 183 web_view, | 183 web_view, |
| 184 window | 184 window |
| 185 }; | 185 }; |
| 186 | 186 |
| 187 // TODO(dmazzoni): switch content/ to use AX_STATE_DISABLED instead of | 187 // TODO(dmazzoni): switch content/ to use AX_STATE_EDITABLE instead of !AX_STA TE_READONLY. |
| 188 // !AX_STATE_ENABLED, and AX_STATE_EDITABLE instead of !AX_STATE_READONLY. | |
| 189 enum AXState { | 188 enum AXState { |
| 190 busy, | 189 busy, |
| 191 checked, | 190 checked, |
| 192 collapsed, | 191 collapsed, |
| 193 default, | 192 default, |
| 194 disabled, // ui/views only | 193 disabled, |
| 195 editable, // ui/views only | 194 editable, // ui/views only |
| 196 enabled, // content only | 195 enabled, // content only |
|
dmazzoni
2014/12/22 08:11:30
Can we delete this one now?
shreeramk
2014/12/22 10:30:53
@Dominic: I have a doubt.
"switch content/ to use
| |
| 197 expanded, | 196 expanded, |
| 198 focusable, | 197 focusable, |
| 199 focused, | 198 focused, |
| 200 haspopup, | 199 haspopup, |
| 201 horizontal, | 200 horizontal, |
| 202 hovered, | 201 hovered, |
| 203 indeterminate, | 202 indeterminate, |
| 204 invisible, | 203 invisible, |
| 205 linked, | 204 linked, |
| 206 multiselectable, | 205 multiselectable, |
| (...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 377 word_ends | 376 word_ends |
| 378 }; | 377 }; |
| 379 | 378 |
| 380 [cpp_enum_prefix_override="ax"] enum AXTextDirection { | 379 [cpp_enum_prefix_override="ax"] enum AXTextDirection { |
| 381 text_direction_lr, | 380 text_direction_lr, |
| 382 text_direction_rl, | 381 text_direction_rl, |
| 383 text_direction_tb, | 382 text_direction_tb, |
| 384 text_direction_bt | 383 text_direction_bt |
| 385 }; | 384 }; |
| 386 }; | 385 }; |
| OLD | NEW |