commit | 4bf7d0b264eb3b5e91acf59b0c878b64e24713a2 | [log] [tgz] |
---|---|---|
author | Lan Wei <[email protected]> | Tue Apr 08 21:59:11 2025 |
committer | Chromium LUCI CQ <[email protected]> | Tue Apr 08 21:59:11 2025 |
tree | b322e2b243a543abd7991ed18e87010da05a4ca4 | |
parent | 77b38c99faf8edd6280727e50054479291cd75cb [diff] [blame] |
Implement scroll actor tool Bug: 402083666 Change-Id: I94c5add3d2d0f1415f403186d03a73ac531112c8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6427366 Reviewed-by: David Bokan <[email protected]> Commit-Queue: Lan Wei <[email protected]> Reviewed-by: Jason Chase <[email protected]> Reviewed-by: Dan Harrington <[email protected]> Reviewed-by: Rick Byers <[email protected]> Reviewed-by: Alex Gough <[email protected]> Cr-Commit-Position: refs/heads/main@{#1444395}
diff --git a/chrome/browser/actor/actor_test_util.h b/chrome/browser/actor/actor_test_util.h index e01b73e..343e4ed6 100644 --- a/chrome/browser/actor/actor_test_util.h +++ b/chrome/browser/actor/actor_test_util.h
@@ -9,7 +9,7 @@ namespace actor { -inline constexpr char kTestDataPath[] = "chrome/test/data/actor"; +inline constexpr char kActorTestDataPath[] = "chrome/test/data/actor"; optimization_guide::proto::BrowserAction MakeClick(int content_node_id); optimization_guide::proto::BrowserAction MakeHistoryBack(); @@ -18,6 +18,10 @@ optimization_guide::proto::BrowserAction MakeType(int content_node_id, std::string_view text, bool follow_by_enter); +optimization_guide::proto::BrowserAction MakeScroll( + std::optional<int> content_node_id, + float scroll_offset_x, + float scroll_offset_y); } // namespace actor