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

Side by Side Diff: chrome/common/extensions/api/automation.idl

Issue 1511603002: Merge to m48: Stops using SYSTEM_STATE_INDETERMINATE as it makes radio buttons appear to have a mix… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2564
Patch Set: Created 5 years 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 | « no previous file | content/browser/accessibility/browser_accessibility_cocoa.mm » ('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 // The <code>chrome.automation</code> API allows developers to access the 5 // The <code>chrome.automation</code> API allows developers to access the
6 // automation (accessibility) tree for the browser. The tree resembles the DOM 6 // automation (accessibility) tree for the browser. The tree resembles the DOM
7 // tree, but only exposes the <em>semantic</em> structure of a page. It can be 7 // tree, but only exposes the <em>semantic</em> structure of a page. It can be
8 // used to programmatically interact with a page by examining names, roles, and 8 // used to programmatically interact with a page by examining names, roles, and
9 // states, listening for events, and performing actions on nodes. 9 // states, listening for events, and performing actions on nodes.
10 [nocompile] namespace automation { 10 [nocompile] namespace automation {
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 default, 188 default,
189 disabled, // ui/views only 189 disabled, // ui/views only
190 editable, // ui/views only 190 editable, // ui/views only
191 enabled, // content only 191 enabled, // content only
192 expanded, 192 expanded,
193 focusable, 193 focusable,
194 focused, 194 focused,
195 haspopup, 195 haspopup,
196 horizontal, 196 horizontal,
197 hovered, 197 hovered,
198 indeterminate,
199 invisible, 198 invisible,
200 linked, 199 linked,
201 multiline, 200 multiline,
202 multiselectable, 201 multiselectable,
203 offscreen, 202 offscreen,
204 pressed, 203 pressed,
205 protected, 204 protected,
206 readOnly, 205 readOnly,
207 required, 206 required,
208 selectable, 207 selectable,
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 automation.RoleType? role; 254 automation.RoleType? role;
256 255
257 // A map of $(ref:automation.StateType) to boolean, indicating for each 256 // A map of $(ref:automation.StateType) to boolean, indicating for each
258 // state whether it should be set or not. For example: 257 // state whether it should be set or not. For example:
259 // <code>{ StateType.enabled: false }</code> would only match if 258 // <code>{ StateType.enabled: false }</code> would only match if
260 // <code>StateType.enabled</code> was <em>not</em> present in the node's 259 // <code>StateType.enabled</code> was <em>not</em> present in the node's
261 // <code>state</code> object. 260 // <code>state</code> object.
262 object? state; 261 object? state;
263 262
264 // A map of attribute name to expected value, for example 263 // A map of attribute name to expected value, for example
265 // <code>{ name: 'Root directory', button_mixed: true }</code>. 264 // <code>{ name: 'Root directory', checkbox_mixed: true }</code>.
266 // String attribute values may be specified as a regex, for example 265 // String attribute values may be specified as a regex, for example
267 // <code>{ name: /stralia$/</code> }</code>. 266 // <code>{ name: /stralia$/</code> }</code>.
268 // Unless specifying a regex, the expected value must be an exact match 267 // Unless specifying a regex, the expected value must be an exact match
269 // in type and value for the actual value. Thus, the type of expected value 268 // in type and value for the actual value. Thus, the type of expected value
270 // must be one of: 269 // must be one of:
271 // <ul> 270 // <ul>
272 // <li>string</li> 271 // <li>string</li>
273 // <li>integer</li> 272 // <li>integer</li>
274 // <li>float</li> 273 // <li>float</li>
275 // <li>boolean</li> 274 // <li>boolean</li>
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after
585 // Everything in the tree between the two node/offset pairs gets included 584 // Everything in the tree between the two node/offset pairs gets included
586 // in the selection. The anchor is where the user started the selection, 585 // in the selection. The anchor is where the user started the selection,
587 // while the focus is the point at which the selection gets extended 586 // while the focus is the point at which the selection gets extended
588 // e.g. when dragging with a mouse or using the keyboard. For nodes with 587 // e.g. when dragging with a mouse or using the keyboard. For nodes with
589 // the role staticText, the offset gives the character offset within 588 // the role staticText, the offset gives the character offset within
590 // the value where the selection starts or ends, respectively. 589 // the value where the selection starts or ends, respectively.
591 [nocompile] static void setDocumentSelection( 590 [nocompile] static void setDocumentSelection(
592 SetDocumentSelectionParams params); 591 SetDocumentSelectionParams params);
593 }; 592 };
594 }; 593 };
OLDNEW
« no previous file with comments | « no previous file | content/browser/accessibility/browser_accessibility_cocoa.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698