Chromium Code Reviews| Index: chrome/common/extensions/api/automation.idl |
| diff --git a/chrome/common/extensions/api/automation.idl b/chrome/common/extensions/api/automation.idl |
| index 65e3adc4dc0424c16a41338b0cf93918b4bc882a..1b48b8a9c23a40370f1b7205b9512bd281a9d5e0 100644 |
| --- a/chrome/common/extensions/api/automation.idl |
| +++ b/chrome/common/extensions/api/automation.idl |
| @@ -616,6 +616,10 @@ |
| // screen views. Note this API is currently only supported on Chrome OS. |
| [nocompile] static void getDesktop(RootCallback callback); |
| + // Get the automation node that currently has focus, globally. Will return |
| + // null if the none of the nodes in any loaded trees have focus. |
|
David Tseng
2016/01/28 02:00:56
nit: if none of
dmazzoni
2016/01/30 00:02:41
Done.
|
| + [nocompile] static AutomationNode getFocus(); |
| + |
| // Add a tree change observer. Tree change observers are static/global, they |
| // listen to changes across all trees. Pass a filter to determine what |
| // specific tree changes to listen to, and note that listnening to all |