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

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

Issue 2863703003: A11y: Rename AXSupportedAction to AXDefaultActionVerb. (Closed)
Patch Set: Rebase. Created 3 years, 7 months 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 | « third_party/WebKit/public/web/WebAXObject.h ('k') | ui/accessibility/ax_node_data.cc » ('j') | 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 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 required, 235 required,
236 richly_editable, 236 richly_editable,
237 selectable, 237 selectable,
238 selected, 238 selected,
239 // Grows vertically, e.g. menu or combo box. 239 // Grows vertically, e.g. menu or combo box.
240 vertical, 240 vertical,
241 visited 241 visited
242 }; 242 };
243 243
244 // An action to be taken on an accessibility node. 244 // An action to be taken on an accessibility node.
245 // In contrast to |AXSupportedAction|, these describe what happens to the 245 // In contrast to |AXDefaultActionVerb|, these describe what happens to the
246 // object, e.g. "FOCUS". 246 // object, e.g. "FOCUS".
247 enum AXAction { 247 enum AXAction {
248 blur, 248 blur,
249 249
250 // Decrement a slider or range control by one step value. 250 // Decrement a slider or range control by one step value.
251 decrement, 251 decrement,
252 252
253 // Do the default action for an object, typically this means "click". 253 // Do the default action for an object, typically this means "click".
254 do_default, 254 do_default,
255 255
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 set_value, 292 set_value,
293 293
294 show_context_menu 294 show_context_menu
295 }; 295 };
296 296
297 enum AXActionFlags { 297 enum AXActionFlags {
298 request_images, 298 request_images,
299 request_inline_text_boxes 299 request_inline_text_boxes
300 }; 300 };
301 301
302 // Lists the actions that can be performed on a given node. 302 // A list of valid values for the |AXIntAttribute| |default_action_verb|.
303 // These will describe the action that will be performed on a given node when
304 // executing the default action, which is a click.
303 // In contrast to |AXAction|, these describe what the user can do on the 305 // In contrast to |AXAction|, these describe what the user can do on the
304 // object, e.g. "PRESS", not what happens to the object as a result. 306 // object, e.g. "PRESS", not what happens to the object as a result.
305 // Only one action is supported for now. 307 // Only one verb can be used at a time to describe the default action.
306 enum AXSupportedAction { 308 enum AXDefaultActionVerb {
307 activate, 309 activate,
308 check, 310 check,
309 click, 311 click,
310 jump, 312 jump,
311 open, 313 open,
312 press, 314 press,
313 select, 315 select,
314 uncheck 316 uncheck
315 }; 317 };
316 318
(...skipping 28 matching lines...) Expand all
345 live_status, 347 live_status,
346 placeholder, 348 placeholder,
347 role, 349 role,
348 role_description, 350 role_description,
349 shortcut, 351 shortcut,
350 url, 352 url,
351 value 353 value
352 }; 354 };
353 355
354 [cpp_enum_prefix_override="ax_attr"] enum AXIntAttribute { 356 [cpp_enum_prefix_override="ax_attr"] enum AXIntAttribute {
355 action, 357 default_action_verb,
356 // Scrollable container attributes. 358 // Scrollable container attributes.
357 scroll_x, 359 scroll_x,
358 scroll_x_min, 360 scroll_x_min,
359 scroll_x_max, 361 scroll_x_max,
360 scroll_y, 362 scroll_y,
361 scroll_y_min, 363 scroll_y_min,
362 scroll_y_max, 364 scroll_y_max,
363 365
364 // Attributes for retrieving the endpoints of a selection. 366 // Attributes for retrieving the endpoints of a selection.
365 text_sel_start, 367 text_sel_start,
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after
663 // First node is before the second one. 665 // First node is before the second one.
664 before, 666 before,
665 667
666 // Nodes are the same. 668 // Nodes are the same.
667 equal, 669 equal,
668 670
669 // First node is after the second one. 671 // First node is after the second one.
670 after 672 after
671 }; 673 };
672 }; 674 };
OLDNEW
« no previous file with comments | « third_party/WebKit/public/web/WebAXObject.h ('k') | ui/accessibility/ax_node_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698