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 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
237 doc_doctype, | 237 doc_doctype, |
238 | 238 |
239 // Attributes that could apply to any node. | 239 // Attributes that could apply to any node. |
240 access_key, | 240 access_key, |
241 action, | 241 action, |
242 auto_complete, | 242 auto_complete, |
243 container_live_relevant, | 243 container_live_relevant, |
244 container_live_status, | 244 container_live_status, |
245 description, | 245 description, |
246 display, | 246 display, |
247 dropeffect, | |
248 help, | 247 help, |
249 html_tag, | 248 html_tag, |
250 // Only used when invalid_state == invalid_state_other. | 249 // Only used when invalid_state == invalid_state_other. |
251 aria_invalid_value, | 250 aria_invalid_value, |
252 name, | 251 name, |
253 live_relevant, | 252 live_relevant, |
254 live_status, | 253 live_status, |
255 placeholder, | 254 placeholder, |
256 role, | 255 role, |
257 shortcut, | 256 shortcut, |
258 text_input_type, | |
259 url, | 257 url, |
260 value | 258 value |
261 }; | 259 }; |
262 | 260 |
263 [cpp_enum_prefix_override="ax_attr"] enum AXIntAttribute { | 261 [cpp_enum_prefix_override="ax_attr"] enum AXIntAttribute { |
264 // Scrollable container attributes. | 262 // Scrollable container attributes. |
265 scroll_x, | 263 scroll_x, |
266 scroll_x_min, | 264 scroll_x_min, |
267 scroll_x_max, | 265 scroll_x_max, |
268 scroll_y, | 266 scroll_y, |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
367 // If this is set, all of the other fields in this struct should | 365 // If this is set, all of the other fields in this struct should |
368 // be ignored and only the locations should change. | 366 // be ignored and only the locations should change. |
369 update_location_only, | 367 update_location_only, |
370 | 368 |
371 // Set on a canvas element if it has fallback content. | 369 // Set on a canvas element if it has fallback content. |
372 canvas_has_fallback, | 370 canvas_has_fallback, |
373 | 371 |
374 // Set if this node is the host of an external AXTree, for | 372 // Set if this node is the host of an external AXTree, for |
375 // example a web view that's a child of a native view, or a | 373 // example a web view that's a child of a native view, or a |
376 // web iframe that's the child of another web frame. | 374 // web iframe that's the child of another web frame. |
377 is_ax_tree_host, | 375 is_ax_tree_host |
378 | |
379 // Set if this node has been selected for dragging in | |
380 // a drag-n-drop operation. | |
381 grabbed | |
382 }; | 376 }; |
383 | 377 |
384 [cpp_enum_prefix_override="ax_attr"] enum AXIntListAttribute { | 378 [cpp_enum_prefix_override="ax_attr"] enum AXIntListAttribute { |
385 // Ids of nodes that are children of this node logically, but are | 379 // Ids of nodes that are children of this node logically, but are |
386 // not children of this node in the tree structure. As an example, | 380 // not children of this node in the tree structure. As an example, |
387 // a table cell is a child of a row, and an 'indirect' child of a | 381 // a table cell is a child of a row, and an 'indirect' child of a |
388 // column. | 382 // column. |
389 indirect_child_ids, | 383 indirect_child_ids, |
390 | 384 |
391 // Relationships between this element and other elements. | 385 // Relationships between this element and other elements. |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
446 }; | 440 }; |
447 | 441 |
448 [cpp_enum_prefix_override="ax"] enum AXSortDirection { | 442 [cpp_enum_prefix_override="ax"] enum AXSortDirection { |
449 sort_direction_unsorted, | 443 sort_direction_unsorted, |
450 sort_direction_ascending, | 444 sort_direction_ascending, |
451 sort_direction_descending, | 445 sort_direction_descending, |
452 sort_direction_other | 446 sort_direction_other |
453 }; | 447 }; |
454 | 448 |
455 }; | 449 }; |
OLD | NEW |