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

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

Issue 2447773002: Use setSequentialFocusNavigationStartingPoint in ChromeVox (Closed)
Patch Set: Links or controls 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 // This is the implementation layer of the chrome.automation API, and is 5 // This is the implementation layer of the chrome.automation API, and is
6 // essentially a translation of the internal accessibility tree update system 6 // essentially a translation of the internal accessibility tree update system
7 // into an extension API. 7 // into an extension API.
8 namespace automationInternal { 8 namespace automationInternal {
9 // Data for an accessibility event and/or an atomic change to an accessibility 9 // Data for an accessibility event and/or an atomic change to an accessibility
10 // tree. See ui/accessibility/ax_tree_update.h for an extended explanation of 10 // tree. See ui/accessibility/ax_tree_update.h for an extended explanation of
(...skipping 11 matching lines...) Expand all
22 // The source of this event. 22 // The source of this event.
23 DOMString eventFrom; 23 DOMString eventFrom;
24 }; 24 };
25 25
26 // All possible actions that can be performed on automation nodes. 26 // All possible actions that can be performed on automation nodes.
27 enum ActionType { 27 enum ActionType {
28 focus, 28 focus,
29 doDefault, 29 doDefault,
30 makeVisible, 30 makeVisible,
31 setAccessibilityFocus, 31 setAccessibilityFocus,
32 setSequentialFocusNavigationStartingPoint,
32 setSelection, 33 setSelection,
33 showContextMenu 34 showContextMenu
34 }; 35 };
35 36
36 // Arguments required for all actions supplied to performAction. 37 // Arguments required for all actions supplied to performAction.
37 dictionary PerformActionRequiredParams { 38 dictionary PerformActionRequiredParams {
38 long treeID; 39 long treeID;
39 long automationNodeID; 40 long automationNodeID;
40 ActionType actionType; 41 ActionType actionType;
41 }; 42 };
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 static void onTreeChange(long observerID, 105 static void onTreeChange(long observerID,
105 long treeID, 106 long treeID,
106 long nodeID, 107 long nodeID,
107 DOMString changeType); 108 DOMString changeType);
108 109
109 static void onChildTreeID(long treeID, long nodeID); 110 static void onChildTreeID(long treeID, long nodeID);
110 111
111 static void onNodesRemoved(long treeID, long[] nodeIDs); 112 static void onNodesRemoved(long treeID, long[] nodeIDs);
112 }; 113 };
113 }; 114 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698