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