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 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
312 aria_readonly, | 312 aria_readonly, |
313 | 313 |
314 // Writeable attributes | 314 // Writeable attributes |
315 can_set_value, | 315 can_set_value, |
316 | 316 |
317 // If this is set, all of the other fields in this struct should | 317 // If this is set, all of the other fields in this struct should |
318 // be ignored and only the locations should change. | 318 // be ignored and only the locations should change. |
319 update_location_only, | 319 update_location_only, |
320 | 320 |
321 // Set on a canvas element if it has fallback content. | 321 // Set on a canvas element if it has fallback content. |
322 canvas_has_fallback | 322 canvas_has_fallback, |
| 323 |
| 324 // Set if this node is the host of an external AXTree, for |
| 325 // example a web view that's a child of a native view, or a |
| 326 // web iframe that's the child of another web frame. |
| 327 is_ax_tree_host |
323 }; | 328 }; |
324 | 329 |
325 [cpp_enum_prefix_override="ax_attr"] enum AXIntListAttribute { | 330 [cpp_enum_prefix_override="ax_attr"] enum AXIntListAttribute { |
326 // Ids of nodes that are children of this node logically, but are | 331 // Ids of nodes that are children of this node logically, but are |
327 // not children of this node in the tree structure. As an example, | 332 // not children of this node in the tree structure. As an example, |
328 // a table cell is a child of a row, and an 'indirect' child of a | 333 // a table cell is a child of a row, and an 'indirect' child of a |
329 // column. | 334 // column. |
330 indirect_child_ids, | 335 indirect_child_ids, |
331 | 336 |
332 // Relationships between this element and other elements. | 337 // Relationships between this element and other elements. |
(...skipping 29 matching lines...) Expand all Loading... |
362 word_ends | 367 word_ends |
363 }; | 368 }; |
364 | 369 |
365 [cpp_enum_prefix_override="ax"] enum AXTextDirection { | 370 [cpp_enum_prefix_override="ax"] enum AXTextDirection { |
366 text_direction_lr, | 371 text_direction_lr, |
367 text_direction_rl, | 372 text_direction_rl, |
368 text_direction_tb, | 373 text_direction_tb, |
369 text_direction_bt | 374 text_direction_bt |
370 }; | 375 }; |
371 }; | 376 }; |
OLD | NEW |