 Chromium Code Reviews
 Chromium Code Reviews Issue 2873373005:
  Add custom action support  (Closed)
    
  
    Issue 2873373005:
  Add custom action support  (Closed) 
  | Index: chrome/common/extensions/api/automation.idl | 
| diff --git a/chrome/common/extensions/api/automation.idl b/chrome/common/extensions/api/automation.idl | 
| index 988635e2852c8b87f8431804995c807770c278fc..cbcf4e64e8f9502eb2572c9f2d99f6241f31ce40 100644 | 
| --- a/chrome/common/extensions/api/automation.idl | 
| +++ b/chrome/common/extensions/api/automation.idl | 
| @@ -367,6 +367,11 @@ | 
| // A listener for changes on the <code>AutomationNode</code> tree. | 
| callback TreeChangeObserver = void(TreeChange treeChange); | 
| + dictionary CustomAction { | 
| + long id; | 
| + DOMString description; | 
| + }; | 
| + | 
| // A single node in an Automation tree. | 
| [nocompile, noinline_doc] dictionary AutomationNode { | 
| // The root node of the tree containing this AutomationNode. | 
| @@ -447,6 +452,9 @@ | 
| // The target of an in-page link. | 
| AutomationNode? inPageLinkTarget; | 
| + // An array of custom actions. | 
| 
David Tseng
2017/05/16 22:18:55
We'll also need a method to perform the custom act
 
yawano
2017/06/02 09:02:38
Done.
 | 
| + CustomAction[]? customActions; | 
| + | 
| // | 
| // Link attributes. | 
| // |