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

Unified Diff: chrome/common/extensions/api/automation.idl

Issue 2873373005: Add custom action support (Closed)
Patch Set: Rebase. Created 3 years, 7 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 side-by-side diff with in-line comments
Download patch
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.
//

Powered by Google App Engine
This is Rietveld 408576698