| OLD | NEW |
| 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 [use_movable_types=true] 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 |
| 11 // the tree update format. | 11 // the tree update format. |
| 12 [nocompile] dictionary AXEventParams { | 12 [nocompile] dictionary AXEventParams { |
| 13 // The tree id of the web contents that this update is for. | 13 // The tree id of the web contents that this update is for. |
| 14 long treeID; | 14 long treeID; |
| 15 | 15 |
| 16 // ID of the node that the event applies to. | 16 // ID of the node that the event applies to. |
| 17 long targetID; | 17 long targetID; |
| 18 | 18 |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 static void onTreeChange(long observerID, | 100 static void onTreeChange(long observerID, |
| 101 long treeID, | 101 long treeID, |
| 102 long nodeID, | 102 long nodeID, |
| 103 DOMString changeType); | 103 DOMString changeType); |
| 104 | 104 |
| 105 static void onChildTreeID(long treeID, long nodeID); | 105 static void onChildTreeID(long treeID, long nodeID); |
| 106 | 106 |
| 107 static void onNodesRemoved(long treeID, long[] nodeIDs); | 107 static void onNodesRemoved(long treeID, long[] nodeIDs); |
| 108 }; | 108 }; |
| 109 }; | 109 }; |
| OLD | NEW |