#include "chrome/browser/ui/tabs/test_tab_strip_model_delegate.h"
#include <vector>
#include "chrome/browser/extensions/tab_helper.h"
#include "chrome/browser/ui/tab_contents/core_tab_helper.h"
#include "components/tab_groups/tab_group_id.h"
TestTabStripModelDelegate::TestTabStripModelDelegate() = default;
TestTabStripModelDelegate::~TestTabStripModelDelegate() = default;
void TestTabStripModelDelegate::AddTabAt(
const GURL& url,
int index,
bool foreground,
std::optional<tab_groups::TabGroupId> group) { … }
Browser* TestTabStripModelDelegate::CreateNewStripWithTabs(
std::vector<NewStripContents> tabs,
const gfx::Rect& window_bounds,
bool maximize) { … }
void TestTabStripModelDelegate::WillAddWebContents(
content::WebContents* contents) { … }
int TestTabStripModelDelegate::GetDragActions() const { … }
bool TestTabStripModelDelegate::CanDuplicateContentsAt(int index) { … }
bool TestTabStripModelDelegate::IsTabStripEditable() { … }
void TestTabStripModelDelegate::DuplicateContentsAt(int index) { … }
void TestTabStripModelDelegate::MoveToExistingWindow(
const std::vector<int>& indices,
int browser_index) { … }
bool TestTabStripModelDelegate::CanMoveTabsToWindow(
const std::vector<int>& indices) { … }
void TestTabStripModelDelegate::MoveTabsToNewWindow(
const std::vector<int>& indices) { … }
void TestTabStripModelDelegate::MoveGroupToNewWindow(
const tab_groups::TabGroupId& group) { … }
std::optional<SessionID> TestTabStripModelDelegate::CreateHistoricalTab(
content::WebContents* contents) { … }
void TestTabStripModelDelegate::CreateHistoricalGroup(
const tab_groups::TabGroupId& group) { … }
void TestTabStripModelDelegate::GroupAdded(
const tab_groups::TabGroupId& group) { … }
void TestTabStripModelDelegate::WillCloseGroup(
const tab_groups::TabGroupId& group) { … }
void TestTabStripModelDelegate::GroupCloseStopped(
const tab_groups::TabGroupId& group) { … }
bool TestTabStripModelDelegate::ShouldRunUnloadListenerBeforeClosing(
content::WebContents* contents) { … }
bool TestTabStripModelDelegate::RunUnloadListenerBeforeClosing(
content::WebContents* contents) { … }
bool TestTabStripModelDelegate::ShouldDisplayFavicon(
content::WebContents* web_contents) const { … }
bool TestTabStripModelDelegate::CanReload() const { … }
void TestTabStripModelDelegate::AddToReadLater(
content::WebContents* web_contents) { … }
bool TestTabStripModelDelegate::SupportsReadLater() { … }
bool TestTabStripModelDelegate::IsForWebApp() { … }
void TestTabStripModelDelegate::CopyURL(content::WebContents* web_contents) { … }
void TestTabStripModelDelegate::GoBack(content::WebContents* web_contents) { … }
bool TestTabStripModelDelegate::CanGoBack(content::WebContents* web_contents) { … }
bool TestTabStripModelDelegate::IsNormalWindow() { … }
BrowserWindowInterface* TestTabStripModelDelegate::GetBrowserWindowInterface() { … }
void TestTabStripModelDelegate::OnGroupsDestruction(
const std::vector<tab_groups::TabGroupId>& group_ids,
base::OnceCallback<void()> callback) { … }
void TestTabStripModelDelegate::OnRemovingAllTabsFromGroups(
const std::vector<tab_groups::TabGroupId>& group_ids,
base::OnceCallback<void()> callback) { … }