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

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

Issue 2447773002: Use setSequentialFocusNavigationStartingPoint in ChromeVox (Closed)
Patch Set: Created 4 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 // 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 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 // Actions that can be taken on an $(ref:automation.AutomationNode). 219 // Actions that can be taken on an $(ref:automation.AutomationNode).
220 enum ActionType { 220 enum ActionType {
221 doDefault, 221 doDefault,
222 hitTest, 222 hitTest,
223 scrollToMakeVisible, 223 scrollToMakeVisible,
224 scrollToPoint, 224 scrollToPoint,
225 setAccessibilityFocus, 225 setAccessibilityFocus,
226 setFocus, 226 setFocus,
227 setScrollOffset, 227 setScrollOffset,
228 setSelection, 228 setSelection,
229 setSequentialFocusNavigationStartingPoint,
David Tseng 2016/10/24 21:51:32 This whole block is unused. Please add static meth
dmazzoni 2016/10/26 16:20:22 Done.
229 setValue, 230 setValue,
230 showContextMenu 231 showContextMenu
231 }; 232 };
232 233
233 // Possible changes to the automation tree. For any given atomic change 234 // Possible changes to the automation tree. For any given atomic change
234 // to the tree, each node that's added, removed, or changed, will appear 235 // to the tree, each node that's added, removed, or changed, will appear
235 // in exactly one TreeChange, with one of these types. 236 // in exactly one TreeChange, with one of these types.
236 // 237 //
237 // 238 //
238 // nodeCreated means that this node was added to the tree and its parent is 239 // nodeCreated means that this node was added to the tree and its parent is
(...skipping 427 matching lines...) Expand 10 before | Expand all | Expand 10 after
666 // Everything in the tree between the two node/offset pairs gets included 667 // Everything in the tree between the two node/offset pairs gets included
667 // in the selection. The anchor is where the user started the selection, 668 // in the selection. The anchor is where the user started the selection,
668 // while the focus is the point at which the selection gets extended 669 // while the focus is the point at which the selection gets extended
669 // e.g. when dragging with a mouse or using the keyboard. For nodes with 670 // e.g. when dragging with a mouse or using the keyboard. For nodes with
670 // the role staticText, the offset gives the character offset within 671 // the role staticText, the offset gives the character offset within
671 // the value where the selection starts or ends, respectively. 672 // the value where the selection starts or ends, respectively.
672 [nocompile] static void setDocumentSelection( 673 [nocompile] static void setDocumentSelection(
673 SetDocumentSelectionParams params); 674 SetDocumentSelectionParams params);
674 }; 675 };
675 }; 676 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698