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

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

Issue 2430473003: Revert of Create AXAction and AXActionData as a way to simplify accessibility actions (Closed)
Patch Set: Created 4 years, 2 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
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 10 matching lines...) Expand all
21 21
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,
32 setSelection, 31 setSelection,
33 showContextMenu 32 showContextMenu
34 }; 33 };
35 34
36 // Arguments required for all actions supplied to performAction. 35 // Arguments required for all actions supplied to performAction.
37 dictionary PerformActionRequiredParams { 36 dictionary PerformActionRequiredParams {
38 long treeID; 37 long treeID;
39 long automationNodeID; 38 long automationNodeID;
40 ActionType actionType; 39 ActionType actionType;
41 }; 40 };
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 static void onTreeChange(long observerID, 103 static void onTreeChange(long observerID,
105 long treeID, 104 long treeID,
106 long nodeID, 105 long nodeID,
107 DOMString changeType); 106 DOMString changeType);
108 107
109 static void onChildTreeID(long treeID, long nodeID); 108 static void onChildTreeID(long treeID, long nodeID);
110 109
111 static void onNodesRemoved(long treeID, long[] nodeIDs); 110 static void onNodesRemoved(long treeID, long[] nodeIDs);
112 }; 111 };
113 }; 112 };
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/automation.idl ('k') | content/browser/accessibility/android_granularity_movement_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698