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

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

Issue 667713006: Implement automatic load of composed/embedded automation trees (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkcr
Patch Set: Fix UAF Created 6 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
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 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 title_bar, 183 title_bar,
184 toggle_button, 184 toggle_button,
185 toolbar, 185 toolbar,
186 tree_grid, 186 tree_grid,
187 tree_item, 187 tree_item,
188 tree, 188 tree,
189 unknown, 189 unknown,
190 tooltip, 190 tooltip,
191 value_indicator, 191 value_indicator,
192 web_area, 192 web_area,
193 web_view,
193 window 194 window
194 }; 195 };
195 196
196 // TODO(dmazzoni): switch content/ to use AX_STATE_DISABLED instead of 197 // TODO(dmazzoni): switch content/ to use AX_STATE_DISABLED instead of
197 // !AX_STATE_ENABLED, and AX_STATE_EDITABLE instead of !AX_STATE_READONLY. 198 // !AX_STATE_ENABLED, and AX_STATE_EDITABLE instead of !AX_STATE_READONLY.
198 enum AXState { 199 enum AXState {
199 busy, 200 busy,
200 checked, 201 checked,
201 collapsed, 202 collapsed,
202 default, 203 default,
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 // Relationships between this element and other elements. 288 // Relationships between this element and other elements.
288 title_ui_element, 289 title_ui_element,
289 activedescendant_id, 290 activedescendant_id,
290 291
291 // Color value for AX_ROLE_COLOR_WELL, each component is 0..255 292 // Color value for AX_ROLE_COLOR_WELL, each component is 0..255
292 color_value_red, 293 color_value_red,
293 color_value_green, 294 color_value_green,
294 color_value_blue, 295 color_value_blue,
295 296
296 // Inline text attributes. 297 // Inline text attributes.
297 text_direction 298 text_direction,
299
300 // Uniquely identifies an AXTree.
301 tree_id,
302
303 // Identifies a child tree which this node hosts.
304 child_tree_id
298 }; 305 };
299 306
300 [cpp_enum_prefix_override="ax_attr"] enum AXFloatAttribute { 307 [cpp_enum_prefix_override="ax_attr"] enum AXFloatAttribute {
301 // Document attributes. 308 // Document attributes.
302 doc_loading_progress, 309 doc_loading_progress,
303 310
304 // Range attributes. 311 // Range attributes.
305 value_for_range, 312 value_for_range,
306 min_value_for_range, 313 min_value_for_range,
307 max_value_for_range 314 max_value_for_range
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
379 word_ends 386 word_ends
380 }; 387 };
381 388
382 [cpp_enum_prefix_override="ax"] enum AXTextDirection { 389 [cpp_enum_prefix_override="ax"] enum AXTextDirection {
383 text_direction_lr, 390 text_direction_lr,
384 text_direction_rl, 391 text_direction_rl,
385 text_direction_tb, 392 text_direction_tb,
386 text_direction_bt 393 text_direction_bt
387 }; 394 };
388 }; 395 };
OLDNEW
« no previous file with comments | « chrome/test/data/extensions/api_test/automation/tests/unit/test.js ('k') | ui/accessibility/ax_node_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698