| 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 // TODO(nektar): Migrate entire file to Mojoq. | 5 // TODO(nektar): Migrate entire file to Mojoq. |
| 6 // These should be kept in sync with third_party/WebKit/public/web/WebAXEnums.h | 6 // These should be kept in sync with third_party/WebKit/public/web/WebAXEnums.h |
| 7 // until the Chromium and Blink trees are merged. | 7 // until the Chromium and Blink trees are merged. |
| 8 [camel_case_enum_to_string=true] namespace ui { | 8 [camel_case_enum_to_string=true] namespace ui { |
| 9 | 9 |
| 10 // For new entries to the following four enums, also add to | 10 // For new entries to the following four enums, also add to |
| (...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 245 scroll_to_make_visible, | 245 scroll_to_make_visible, |
| 246 | 246 |
| 247 // Scroll the given object to a specified point on the screen in | 247 // Scroll the given object to a specified point on the screen in |
| 248 // global screen coordinates. Pass a point in AXActionData.target_point. | 248 // global screen coordinates. Pass a point in AXActionData.target_point. |
| 249 scroll_to_point, | 249 scroll_to_point, |
| 250 | 250 |
| 251 set_accessibility_focus, | 251 set_accessibility_focus, |
| 252 set_focus, | 252 set_focus, |
| 253 set_scroll_offset, | 253 set_scroll_offset, |
| 254 set_selection, | 254 set_selection, |
| 255 | |
| 256 // Don't focus this node, but set it as the sequential focus navigation | |
| 257 // starting point, so that pressing Tab moves to the next element | |
| 258 // following this one, for example. | |
| 259 set_sequential_focus_navigation_starting_point, | |
| 260 | |
| 261 set_value, | 255 set_value, |
| 262 show_context_menu | 256 show_context_menu |
| 263 }; | 257 }; |
| 264 | 258 |
| 265 enum AXActionFlags { | 259 enum AXActionFlags { |
| 266 request_images, | 260 request_images, |
| 267 request_inline_text_boxes | 261 request_inline_text_boxes, |
| 262 set_sequential_focus_navigation_point |
| 268 }; | 263 }; |
| 269 | 264 |
| 270 // A change to the accessibility tree. | 265 // A change to the accessibility tree. |
| 271 enum AXMutation { | 266 enum AXMutation { |
| 272 node_created, | 267 node_created, |
| 273 subtree_created, | 268 subtree_created, |
| 274 node_changed, | 269 node_changed, |
| 275 node_removed | 270 node_removed |
| 276 }; | 271 }; |
| 277 | 272 |
| (...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 587 // First node is before the second one. | 582 // First node is before the second one. |
| 588 before, | 583 before, |
| 589 | 584 |
| 590 // Nodes are the same. | 585 // Nodes are the same. |
| 591 equal, | 586 equal, |
| 592 | 587 |
| 593 // First node is after the second one. | 588 // First node is after the second one. |
| 594 after | 589 after |
| 595 }; | 590 }; |
| 596 }; | 591 }; |
| OLD | NEW |