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

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

Issue 2873373005: Add custom action support (Closed)
Patch Set: Migrate to DataObjectBuilder. Created 3 years, 6 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
« no previous file with comments | « chrome/common/extensions/api/automation.idl ('k') | chrome/common/extensions/chrome_extension_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/api/automation_internal.idl
diff --git a/chrome/common/extensions/api/automation_internal.idl b/chrome/common/extensions/api/automation_internal.idl
index a5cc24f88eec66a13ada0ff568b869e7aaa61b42..68cf1f18e3a8eb06d3a10dc0d4868144d7170388 100644
--- a/chrome/common/extensions/api/automation_internal.idl
+++ b/chrome/common/extensions/api/automation_internal.idl
@@ -29,8 +29,9 @@ namespace automationInternal {
// All possible actions that can be performed on automation nodes.
enum ActionType {
- focus,
+ customAction,
doDefault,
+ focus,
getImageData,
hitTest,
makeVisible,
@@ -38,10 +39,10 @@ namespace automationInternal {
setAccessibilityFocus,
setSequentialFocusNavigationStartingPoint,
setSelection,
+ showContextMenu,
startDuckingMedia,
stopDuckingMedia,
- suspendMedia,
- showContextMenu
+ suspendMedia
};
// Arguments required for all actions supplied to performAction.
@@ -51,6 +52,12 @@ namespace automationInternal {
ActionType actionType;
};
+ // Arguments for the customAction action. Those args are passed to
+ // performAction as opt_args.
+ dictionary PerformCustomActionParams {
+ long customActionID;
+ };
+
// Arguments for the setSelection action supplied to performAction.
dictionary SetSelectionParams {
// Reuses ActionRequiredParams automationNodeID to mean anchor node id,
« no previous file with comments | « chrome/common/extensions/api/automation.idl ('k') | chrome/common/extensions/chrome_extension_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698