| 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 |
| 255 set_value, | 261 set_value, |
| 256 show_context_menu | 262 show_context_menu |
| 257 }; | 263 }; |
| 258 | 264 |
| 259 enum AXActionFlags { | 265 enum AXActionFlags { |
| 260 request_images, | 266 request_images, |
| 261 request_inline_text_boxes, | 267 request_inline_text_boxes |
| 262 set_sequential_focus_navigation_point | |
| 263 }; | 268 }; |
| 264 | 269 |
| 265 // A change to the accessibility tree. | 270 // A change to the accessibility tree. |
| 266 enum AXMutation { | 271 enum AXMutation { |
| 267 node_created, | 272 node_created, |
| 268 subtree_created, | 273 subtree_created, |
| 269 node_changed, | 274 node_changed, |
| 270 node_removed | 275 node_removed |
| 271 }; | 276 }; |
| 272 | 277 |
| (...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 582 // First node is before the second one. | 587 // First node is before the second one. |
| 583 before, | 588 before, |
| 584 | 589 |
| 585 // Nodes are the same. | 590 // Nodes are the same. |
| 586 equal, | 591 equal, |
| 587 | 592 |
| 588 // First node is after the second one. | 593 // First node is after the second one. |
| 589 after | 594 after |
| 590 }; | 595 }; |
| 591 }; | 596 }; |
| OLD | NEW |