#ifndef CHROME_BROWSER_ACTOR_TOOLS_SCROLL_TO_TOOL_REQUEST_H_
#define CHROME_BROWSER_ACTOR_TOOLS_SCROLL_TO_TOOL_REQUEST_H_
#include <memory>
#include <string>
#include "chrome/browser/actor/tools/page_tool_request.h"
#include "chrome/common/actor.mojom-forward.h"
namespace actor {
class ToolRequestVisitorFunctor;
class ScrollToToolRequest : public PageToolRequest {
public:
static constexpr char kName[] = "ScrollTo";
ScrollToToolRequest(tabs::TabHandle tab_handle, const PageTarget& target);
~ScrollToToolRequest() override;
void Apply(ToolRequestVisitorFunctor& f) const override;
std::string_view Name() const override;
mojom::ToolActionPtr ToMojoToolAction(
content::RenderFrameHost& frame) const override;
std::unique_ptr<PageToolRequest> Clone() const override;
};
}
#endif