Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(950)

Side by Side Diff: ui/accessibility/ax_enums.idl

Issue 2447013009: Implement Increment and Decrement accessible actions (Closed)
Patch Set: Change to make test pass on Android Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/test/BUILD.gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 richly_editable, 225 richly_editable,
226 selectable, 226 selectable,
227 selected, 227 selected,
228 // Grows vertically, e.g. menu or combo box. 228 // Grows vertically, e.g. menu or combo box.
229 vertical, 229 vertical,
230 visited 230 visited
231 }; 231 };
232 232
233 // An action to be taken on an accessibility node. 233 // An action to be taken on an accessibility node.
234 enum AXAction { 234 enum AXAction {
235 // Decrement a slider or range control by one step value.
236 decrement,
237
235 // Do the default action for an object, typically this means "click". 238 // Do the default action for an object, typically this means "click".
236 do_default, 239 do_default,
237 240
238 // Given a point, find the object it corresponds to and fire a 241 // Given a point, find the object it corresponds to and fire a
239 // HOVER event on it in response. 242 // HOVER event on it in response.
240 hit_test, 243 hit_test,
241 244
245 // Increment a slider or range control by one step value.
246 increment,
247
242 // Delete any selected text in the control's text value and 248 // Delete any selected text in the control's text value and
243 // insert |AXActionData::value| in its place, like when typing or pasting. 249 // insert |AXActionData::value| in its place, like when typing or pasting.
244 replace_selected_text, 250 replace_selected_text,
245 251
246 // Scroll any scrollable containers to make the target object visible 252 // Scroll any scrollable containers to make the target object visible
247 // on the screen. Optionally pass a subfocus rect in 253 // on the screen. Optionally pass a subfocus rect in
248 // AXActionData.target_rect. 254 // AXActionData.target_rect.
249 scroll_to_make_visible, 255 scroll_to_make_visible,
250 256
251 // Scroll the given object to a specified point on the screen in 257 // Scroll the given object to a specified point on the screen in
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
453 // occurrence. 459 // occurrence.
454 unique_cell_ids, 460 unique_cell_ids,
455 461
456 // For inline text. This is the pixel position of the end of this 462 // For inline text. This is the pixel position of the end of this
457 // character within the bounding rectangle of this object, in the 463 // character within the bounding rectangle of this object, in the
458 // direction given by AX_ATTR_TEXT_DIRECTION. For example, for left-to-right 464 // direction given by AX_ATTR_TEXT_DIRECTION. For example, for left-to-right
459 // text, the first offset is the right coordinate of the first character 465 // text, the first offset is the right coordinate of the first character
460 // within the object's bounds, the second offset is the right coordinate 466 // within the object's bounds, the second offset is the right coordinate
461 // of the second character, and so on. 467 // of the second character, and so on.
462 character_offsets, 468 character_offsets,
463 469
464 // Used for caching. Do not read directly. Use 470 // Used for caching. Do not read directly. Use
465 // |AXNode::GetOrComputeLineStartOffsets| 471 // |AXNode::GetOrComputeLineStartOffsets|
466 // For all text fields and content editable roots: A list of the start 472 // For all text fields and content editable roots: A list of the start
467 // offsets of each line inside this object. 473 // offsets of each line inside this object.
468 cached_line_starts, 474 cached_line_starts,
469 475
470 // For inline text. These int lists must be the same size; they represent 476 // For inline text. These int lists must be the same size; they represent
471 // the start and end character offset of each word within this text. 477 // the start and end character offset of each word within this text.
472 word_starts, 478 word_starts,
473 word_ends 479 word_ends
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
594 // First node is before the second one. 600 // First node is before the second one.
595 before, 601 before,
596 602
597 // Nodes are the same. 603 // Nodes are the same.
598 equal, 604 equal,
599 605
600 // First node is after the second one. 606 // First node is after the second one.
601 after 607 after
602 }; 608 };
603 }; 609 };
OLDNEW
« no previous file with comments | « content/test/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698