| 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 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 228 // Attributes that could apply to any node. | 228 // Attributes that could apply to any node. |
| 229 access_key, | 229 access_key, |
| 230 action, | 230 action, |
| 231 auto_complete, | 231 auto_complete, |
| 232 container_live_relevant, | 232 container_live_relevant, |
| 233 container_live_status, | 233 container_live_status, |
| 234 description, | 234 description, |
| 235 display, | 235 display, |
| 236 help, | 236 help, |
| 237 html_tag, | 237 html_tag, |
| 238 // Only used when invalid_state == invalid_state_other. |
| 239 aria_invalid_value, |
| 238 name, | 240 name, |
| 239 live_relevant, | 241 live_relevant, |
| 240 live_status, | 242 live_status, |
| 241 placeholder, | 243 placeholder, |
| 242 role, | 244 role, |
| 243 shortcut, | 245 shortcut, |
| 244 text_input_type, | 246 text_input_type, |
| 245 url, | 247 url, |
| 246 value | 248 value |
| 247 }; | 249 }; |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 290 color_value_green, | 292 color_value_green, |
| 291 color_value_blue, | 293 color_value_blue, |
| 292 | 294 |
| 293 // Inline text attributes. | 295 // Inline text attributes. |
| 294 text_direction, | 296 text_direction, |
| 295 | 297 |
| 296 // Uniquely identifies an AXTree. | 298 // Uniquely identifies an AXTree. |
| 297 tree_id, | 299 tree_id, |
| 298 | 300 |
| 299 // Identifies a child tree which this node hosts. | 301 // Identifies a child tree which this node hosts. |
| 300 child_tree_id | 302 child_tree_id, |
| 303 |
| 304 // Indicates if a form control has invalid input or |
| 305 // if an element has an aria-invalid attribute. |
| 306 invalid_state |
| 301 }; | 307 }; |
| 302 | 308 |
| 303 [cpp_enum_prefix_override="ax_attr"] enum AXFloatAttribute { | 309 [cpp_enum_prefix_override="ax_attr"] enum AXFloatAttribute { |
| 304 // Document attributes. | 310 // Document attributes. |
| 305 doc_loading_progress, | 311 doc_loading_progress, |
| 306 | 312 |
| 307 // Range attributes. | 313 // Range attributes. |
| 308 value_for_range, | 314 value_for_range, |
| 309 min_value_for_range, | 315 min_value_for_range, |
| 310 max_value_for_range | 316 max_value_for_range |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 381 word_starts, | 387 word_starts, |
| 382 word_ends | 388 word_ends |
| 383 }; | 389 }; |
| 384 | 390 |
| 385 [cpp_enum_prefix_override="ax"] enum AXTextDirection { | 391 [cpp_enum_prefix_override="ax"] enum AXTextDirection { |
| 386 text_direction_lr, | 392 text_direction_lr, |
| 387 text_direction_rl, | 393 text_direction_rl, |
| 388 text_direction_tb, | 394 text_direction_tb, |
| 389 text_direction_bt | 395 text_direction_bt |
| 390 }; | 396 }; |
| 397 |
| 398 [cpp_enum_prefix_override="ax"] enum AXInvalidState { |
| 399 invalid_state_false, |
| 400 invalid_state_true, |
| 401 invalid_state_spelling, |
| 402 invalid_state_grammar, |
| 403 invalid_state_other |
| 404 }; |
| 405 |
| 391 }; | 406 }; |
| OLD | NEW |