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

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

Issue 1365433002: Add setSelection function to automation API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@nobrailleautostartintests
Patch Set: rebase Created 5 years, 3 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 6f568cfac6eba888dc5bb48d03b7ed63d08dbf64..28ca0d53857e39065ce632e13f6e62e5af91d1d4 100644
--- a/chrome/common/extensions/api/automation_internal.idl
+++ b/chrome/common/extensions/api/automation_internal.idl
@@ -36,10 +36,13 @@ namespace automationInternal {
ActionType actionType;
};
- // Arguments for the set_selection action supplied to performAction.
+ // Arguments for the setSelection action supplied to performAction.
dictionary SetSelectionParams {
- long startIndex;
- long endIndex;
+ // automationNodeID of performActionRequiredParams is used for the
David Tseng 2015/09/23 17:57:41 nit: one space between sentences in this file. Com
+ // anchor node ID. treeID applies to focusNodeID as well.
+ long focusNodeID;
+ long anchorOffset;
+ long focusOffset;
};
// Arguments for the querySelector function.

Powered by Google App Engine
This is Rietveld 408576698