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

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

Issue 1195223006: Reports the position of the caret and current selection in content editables. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added unit tests. Created 5 years, 5 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
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 // These should be kept in sync with third_party/WebKit/public/web/WebAXEnums.h 5 // These should be kept in sync with third_party/WebKit/public/web/WebAXEnums.h
6 // until the Chromium and Blink trees are merged. 6 // until the Chromium and Blink trees are merged.
7 [camel_case_enum_to_string=true] namespace ui { 7 [camel_case_enum_to_string=true] namespace ui {
8 8
9 // For new entries to the following three enums, also add to 9 // For new entries to the following three enums, also add to
10 // chrome/common/extensions/api/automation.idl. 10 // chrome/common/extensions/api/automation.idl.
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 261
262 [cpp_enum_prefix_override="ax_attr"] enum AXIntAttribute { 262 [cpp_enum_prefix_override="ax_attr"] enum AXIntAttribute {
263 // Scrollable container attributes. 263 // Scrollable container attributes.
264 scroll_x, 264 scroll_x,
265 scroll_x_min, 265 scroll_x_min,
266 scroll_x_max, 266 scroll_x_max,
267 scroll_y, 267 scroll_y,
268 scroll_y_min, 268 scroll_y_min,
269 scroll_y_max, 269 scroll_y_max,
270 270
271 // Editable text attributes. 271 // Attributes for retrieving the endpoints of a selection.
272 anchor_object_id,
273 anchor_offset,
274 focus_object_id,
275 focus_offset,
276 // Deprecated.
272 text_sel_start, 277 text_sel_start,
273 text_sel_end, 278 text_sel_end,
274 279
275 // Table attributes. 280 // Table attributes.
276 table_row_count, 281 table_row_count,
277 table_column_count, 282 table_column_count,
278 table_header_id, 283 table_header_id,
279 284
280 // Table row attributes. 285 // Table row attributes.
281 table_row_index, 286 table_row_index,
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
441 }; 446 };
442 447
443 [cpp_enum_prefix_override="ax"] enum AXSortDirection { 448 [cpp_enum_prefix_override="ax"] enum AXSortDirection {
444 sort_direction_unsorted, 449 sort_direction_unsorted,
445 sort_direction_ascending, 450 sort_direction_ascending,
446 sort_direction_descending, 451 sort_direction_descending,
447 sort_direction_other 452 sort_direction_other
448 }; 453 };
449 454
450 }; 455 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698