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

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

Issue 2873373005: Add custom action support (Closed)
Patch Set: Removed MinVersion from struct. 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
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..49d1ec94e65ab442a31e4269e73a50965f1d2dec 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,10 @@ namespace automationInternal {
ActionType actionType;
};
+ dictionary PerformCustomActionParams {
Devlin 2017/06/14 18:23:10 Is this used?
yawano 2017/06/15 10:43:21 Yes, this is used. This is used in automation_inte
+ long customActionID;
+ };
+
// Arguments for the setSelection action supplied to performAction.
dictionary SetSelectionParams {
// Reuses ActionRequiredParams automationNodeID to mean anchor node id,

Powered by Google App Engine
This is Rietveld 408576698