chromium/chrome/browser/ui/views/tabs/fake_base_tab_strip_controller.cc

// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "chrome/browser/ui/views/tabs/fake_base_tab_strip_controller.h"

#include <utility>

#include "base/containers/contains.h"
#include "chrome/browser/ui/tabs/tab_renderer_data.h"
#include "chrome/browser/ui/views/tabs/tab_strip.h"
#include "components/tab_groups/tab_group_color.h"
#include "components/tab_groups/tab_group_id.h"
#include "components/tab_groups/tab_group_visual_data.h"
#include "ui/gfx/color_palette.h"
#include "ui/gfx/color_utils.h"
#include "ui/gfx/range/range.h"

FakeBaseTabStripController::FakeBaseTabStripController() = default;

FakeBaseTabStripController::~FakeBaseTabStripController() = default;

void FakeBaseTabStripController::AddTab(int index,
                                        TabActive is_active,
                                        TabPinned is_pinned) {}

void FakeBaseTabStripController::MoveTab(int from_index, int to_index) {}

void FakeBaseTabStripController::MoveGroup(const tab_groups::TabGroupId& group,
                                           int to_index) {}

void FakeBaseTabStripController::ToggleTabGroupCollapsedState(
    const tab_groups::TabGroupId group,
    ToggleTabGroupCollapsedStateOrigin origin) {}

void FakeBaseTabStripController::RemoveTab(int index) {}

std::u16string FakeBaseTabStripController::GetGroupTitle(
    const tab_groups::TabGroupId& group_id) const {}

std::u16string FakeBaseTabStripController::GetGroupContentString(
    const tab_groups::TabGroupId& group_id) const {}

tab_groups::TabGroupColorId FakeBaseTabStripController::GetGroupColorId(
    const tab_groups::TabGroupId& group_id) const {}

bool FakeBaseTabStripController::IsGroupCollapsed(
    const tab_groups::TabGroupId& group) const {}

void FakeBaseTabStripController::SetVisualDataForGroup(
    const tab_groups::TabGroupId& group,
    const tab_groups::TabGroupVisualData& visual_data) {}

void FakeBaseTabStripController::AddTabToGroup(
    int model_index,
    const tab_groups::TabGroupId& group) {}

void FakeBaseTabStripController::RemoveTabFromGroup(int model_index) {}

void FakeBaseTabStripController::MoveTabIntoGroup(
    int index,
    std::optional<tab_groups::TabGroupId> new_group) {}

std::optional<int> FakeBaseTabStripController::GetFirstTabInGroup(
    const tab_groups::TabGroupId& group) const {}

gfx::Range FakeBaseTabStripController::ListTabsInGroup(
    const tab_groups::TabGroupId& group) const {}

const ui::ListSelectionModel&
FakeBaseTabStripController::GetSelectionModel() const {}

int FakeBaseTabStripController::GetCount() const {}

bool FakeBaseTabStripController::IsValidIndex(int index) const {}

bool FakeBaseTabStripController::IsActiveTab(int index) const {}

std::optional<int> FakeBaseTabStripController::GetActiveIndex() const {}

bool FakeBaseTabStripController::IsTabSelected(int index) const {}

bool FakeBaseTabStripController::IsTabPinned(int index) const {}

void FakeBaseTabStripController::SelectTab(int index, const ui::Event& event) {}

void FakeBaseTabStripController::ExtendSelectionTo(int index) {}

void FakeBaseTabStripController::ToggleSelected(int index) {}

void FakeBaseTabStripController::AddSelectionFromAnchorTo(int index) {}

void FakeBaseTabStripController::OnCloseTab(
    int index,
    CloseTabSource source,
    base::OnceCallback<void()> callback) {}

void FakeBaseTabStripController::ToggleTabAudioMute(int index) {}

void FakeBaseTabStripController::CloseTab(int index) {}

void FakeBaseTabStripController::ShowContextMenuForTab(
    Tab* tab,
    const gfx::Point& p,
    ui::MenuSourceType source_type) {}

int FakeBaseTabStripController::HasAvailableDragActions() const {}

void FakeBaseTabStripController::OnDropIndexUpdate(std::optional<int> index,
                                                   bool drop_before) {}

void FakeBaseTabStripController::CreateNewTab() {}

void FakeBaseTabStripController::CreateNewTabWithLocation(
    const std::u16string& location) {}

void FakeBaseTabStripController::OnStartedDragging(bool dragging_window) {}

void FakeBaseTabStripController::OnStoppedDragging() {}

void FakeBaseTabStripController::OnKeyboardFocusedTabChanged(
    std::optional<int> index) {}

bool FakeBaseTabStripController::IsFrameCondensed() const {}

bool FakeBaseTabStripController::HasVisibleBackgroundTabShapes() const {}

bool FakeBaseTabStripController::EverHasVisibleBackgroundTabShapes() const {}

bool FakeBaseTabStripController::CanDrawStrokes() const {}

bool FakeBaseTabStripController::IsFrameButtonsRightAligned() const {}

SkColor FakeBaseTabStripController::GetFrameColor(
    BrowserFrameActiveState active_state) const {}

std::optional<int> FakeBaseTabStripController::GetCustomBackgroundId(
    BrowserFrameActiveState active_state) const {}

std::u16string FakeBaseTabStripController::GetAccessibleTabName(
    const Tab* tab) const {}

Profile* FakeBaseTabStripController::GetProfile() const {}

const Browser* FakeBaseTabStripController::GetBrowser() const {}

#if BUILDFLAG(IS_CHROMEOS_ASH)
bool FakeBaseTabStripController::IsLockedForOnTask() {
  return on_task_locked_;
}
#endif

void FakeBaseTabStripController::SetActiveIndex(int new_index) {}