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

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

Issue 2833843005: Handling of different types of empty alt (Closed)
Patch Set: Ready to land 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 | « no previous file | content/browser/accessibility/accessibility_tree_formatter_auralinux.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 // 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 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 /** 260 /**
261 * This node was removed. 261 * This node was removed.
262 */ 262 */
263 nodeRemoved 263 nodeRemoved
264 }; 264 };
265 265
266 // Where the node's name is from. 266 // Where the node's name is from.
267 enum NameFromType { 267 enum NameFromType {
268 uninitialized, 268 uninitialized,
269 attribute, 269 attribute,
270 attributeExplicitlyEmpty,
270 contents, 271 contents,
271 placeholder, 272 placeholder,
272 relatedElement, 273 relatedElement,
273 value 274 value
274 }; 275 };
275 276
276 dictionary Rect { 277 dictionary Rect {
277 long left; 278 long left;
278 long top; 279 long top;
279 long width; 280 long width;
(...skipping 523 matching lines...) Expand 10 before | Expand all | Expand 10 after
803 // Everything in the tree between the two node/offset pairs gets included 804 // Everything in the tree between the two node/offset pairs gets included
804 // in the selection. The anchor is where the user started the selection, 805 // in the selection. The anchor is where the user started the selection,
805 // while the focus is the point at which the selection gets extended 806 // while the focus is the point at which the selection gets extended
806 // e.g. when dragging with a mouse or using the keyboard. For nodes with 807 // e.g. when dragging with a mouse or using the keyboard. For nodes with
807 // the role staticText, the offset gives the character offset within 808 // the role staticText, the offset gives the character offset within
808 // the value where the selection starts or ends, respectively. 809 // the value where the selection starts or ends, respectively.
809 [nocompile] static void setDocumentSelection( 810 [nocompile] static void setDocumentSelection(
810 SetDocumentSelectionParams params); 811 SetDocumentSelectionParams params);
811 }; 812 };
812 }; 813 };
OLDNEW
« no previous file with comments | « no previous file | content/browser/accessibility/accessibility_tree_formatter_auralinux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698