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

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

Issue 2550593003: Expose media controls to accessibility (Closed)
Patch Set: Created 4 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
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 18 matching lines...) Expand all
29 29
30 // All possible actions that can be performed on automation nodes. 30 // All possible actions that can be performed on automation nodes.
31 enum ActionType { 31 enum ActionType {
32 focus, 32 focus,
33 doDefault, 33 doDefault,
34 getImageData, 34 getImageData,
35 makeVisible, 35 makeVisible,
36 setAccessibilityFocus, 36 setAccessibilityFocus,
37 setSequentialFocusNavigationStartingPoint, 37 setSequentialFocusNavigationStartingPoint,
38 setSelection, 38 setSelection,
39 startDucking,
40 stopDucking,
39 showContextMenu 41 showContextMenu
40 }; 42 };
41 43
42 // Arguments required for all actions supplied to performAction. 44 // Arguments required for all actions supplied to performAction.
43 dictionary PerformActionRequiredParams { 45 dictionary PerformActionRequiredParams {
44 long treeID; 46 long treeID;
45 long automationNodeID; 47 long automationNodeID;
46 ActionType actionType; 48 ActionType actionType;
47 }; 49 };
48 50
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 long nodeID, 120 long nodeID,
119 DOMString changeType); 121 DOMString changeType);
120 122
121 static void onChildTreeID(long treeID, long nodeID); 123 static void onChildTreeID(long treeID, long nodeID);
122 124
123 static void onNodesRemoved(long treeID, long[] nodeIDs); 125 static void onNodesRemoved(long treeID, long[] nodeIDs);
124 126
125 static void onAccessibilityTreeSerializationError(long treeID); 127 static void onAccessibilityTreeSerializationError(long treeID);
126 }; 128 };
127 }; 129 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698