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

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

Issue 2873373005: Add custom action support (Closed)
Patch Set: Fix format. 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 {
+ 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