commit | 182593f907bcfdbf0fb6da89ff48f3ddfc0f0adc | [log] [tgz] |
---|---|---|
author | Rodney Ding <[email protected]> | Tue Apr 08 18:33:13 2025 |
committer | Chromium LUCI CQ <[email protected]> | Tue Apr 08 18:33:13 2025 |
tree | a7cd7fee844e76bfb3935ab0d4754d1552fc2281 | |
parent | 8a1c47b3979d00b93166f6c5651206ff888ed945 [diff] [blame] |
actor tools implementation - type - This is part 1 of type tool, only supports directly typing into editable node with ASCII characters. - Focus on the editable node is achieved via a click tool Bug: 402082693 Change-Id: I1a74c006bf248a58afce9392b946edf019761e55 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6426127 Reviewed-by: David Bokan <[email protected]> Reviewed-by: Jason Chase <[email protected]> Reviewed-by: Alex Gough <[email protected]> Auto-Submit: Rodney Ding <[email protected]> Reviewed-by: Jeremy Roman <[email protected]> Commit-Queue: David Bokan <[email protected]> Cr-Commit-Position: refs/heads/main@{#1444263}
diff --git a/chrome/browser/actor/actor_test_util.h b/chrome/browser/actor/actor_test_util.h index af70e5f..e01b73e 100644 --- a/chrome/browser/actor/actor_test_util.h +++ b/chrome/browser/actor/actor_test_util.h
@@ -15,6 +15,9 @@ optimization_guide::proto::BrowserAction MakeHistoryBack(); optimization_guide::proto::BrowserAction MakeHistoryForward(); optimization_guide::proto::BrowserAction MakeMouseMove(int content_node_id); +optimization_guide::proto::BrowserAction MakeType(int content_node_id, + std::string_view text, + bool follow_by_enter); } // namespace actor