| 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 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 181 tree_grid, | 181 tree_grid, |
| 182 tree_item, | 182 tree_item, |
| 183 tree, | 183 tree, |
| 184 unknown, | 184 unknown, |
| 185 tooltip, | 185 tooltip, |
| 186 web_area, | 186 web_area, |
| 187 web_view, | 187 web_view, |
| 188 window | 188 window |
| 189 }; | 189 }; |
| 190 | 190 |
| 191 // TODO(dmazzoni): switch content/ to use AX_STATE_DISABLED instead of | 191 // TODO(dmazzoni): switch content/ to use AX_STATE_EDITABLE instead of !AX_STA
TE_READONLY. |
| 192 // !AX_STATE_ENABLED, and AX_STATE_EDITABLE instead of !AX_STATE_READONLY. | |
| 193 enum AXState { | 192 enum AXState { |
| 194 busy, | 193 busy, |
| 195 checked, | 194 checked, |
| 196 collapsed, | 195 collapsed, |
| 197 default, | 196 default, |
| 198 disabled, // ui/views only | 197 disabled, |
| 199 editable, // ui/views only | 198 editable, // ui/views only |
| 200 enabled, // content only | 199 enabled, // content only |
| 201 expanded, | 200 expanded, |
| 202 focusable, | 201 focusable, |
| 203 focused, | 202 focused, |
| 204 haspopup, | 203 haspopup, |
| 205 horizontal, | 204 horizontal, |
| 206 hovered, | 205 hovered, |
| 207 indeterminate, | 206 indeterminate, |
| 208 invisible, | 207 invisible, |
| (...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 420 }; | 419 }; |
| 421 | 420 |
| 422 [cpp_enum_prefix_override="ax"] enum AXSortDirection { | 421 [cpp_enum_prefix_override="ax"] enum AXSortDirection { |
| 423 sort_direction_unsorted, | 422 sort_direction_unsorted, |
| 424 sort_direction_ascending, | 423 sort_direction_ascending, |
| 425 sort_direction_descending, | 424 sort_direction_descending, |
| 426 sort_direction_other | 425 sort_direction_other |
| 427 }; | 426 }; |
| 428 | 427 |
| 429 }; | 428 }; |
| OLD | NEW |