| 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 272 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 283 | 283 |
| 284 // Don't focus this node, but set it as the sequential focus navigation | 284 // Don't focus this node, but set it as the sequential focus navigation |
| 285 // starting point, so that pressing Tab moves to the next element | 285 // starting point, so that pressing Tab moves to the next element |
| 286 // following this one, for example. | 286 // following this one, for example. |
| 287 set_sequential_focus_navigation_starting_point, | 287 set_sequential_focus_navigation_starting_point, |
| 288 | 288 |
| 289 // Replace the value of the control with AXActionData::value and | 289 // Replace the value of the control with AXActionData::value and |
| 290 // reset the selection, if applicable. | 290 // reset the selection, if applicable. |
| 291 set_value, | 291 set_value, |
| 292 | 292 |
| 293 show_context_menu | 293 show_context_menu, |
| 294 |
| 295 // Toggle screen darkness on or off. |
| 296 toggle_darken_screen |
| 297 }; |
| 298 |
| 299 [cpp_enum_prefix_override="ax_action_attr"] enum AXActionBoolAttribute { |
| 300 darken_screen |
| 294 }; | 301 }; |
| 295 | 302 |
| 296 enum AXActionFlags { | 303 enum AXActionFlags { |
| 297 request_images, | 304 request_images, |
| 298 request_inline_text_boxes | 305 request_inline_text_boxes |
| 299 }; | 306 }; |
| 300 | 307 |
| 301 // Lists the actions that can be performed on a given node. | 308 // Lists the actions that can be performed on a given node. |
| 302 // In contrast to |AXAction|, these describe what the user can do on the | 309 // In contrast to |AXAction|, these describe what the user can do on the |
| 303 // object, e.g. "PRESS", not what happens to the object as a result. | 310 // object, e.g. "PRESS", not what happens to the object as a result. |
| (...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 656 // First node is before the second one. | 663 // First node is before the second one. |
| 657 before, | 664 before, |
| 658 | 665 |
| 659 // Nodes are the same. | 666 // Nodes are the same. |
| 660 equal, | 667 equal, |
| 661 | 668 |
| 662 // First node is after the second one. | 669 // First node is after the second one. |
| 663 after | 670 after |
| 664 }; | 671 }; |
| 665 }; | 672 }; |
| OLD | NEW |