chromium/chrome/browser/ui/views/desktop_capture/desktop_media_picker_views_test_api.cc

// Copyright 2019 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/desktop_capture/desktop_media_picker_views_test_api.h"

#include "base/ranges/algorithm.h"
#include "chrome/browser/ui/views/desktop_capture/desktop_media_list_controller.h"
#include "chrome/browser/ui/views/desktop_capture/desktop_media_list_view.h"
#include "chrome/browser/ui/views/desktop_capture/desktop_media_picker_views.h"
#include "chrome/browser/ui/views/desktop_capture/desktop_media_tab_list.h"
#include "ui/events/base_event_utils.h"
#include "ui/views/controls/button/checkbox.h"
#include "ui/views/controls/tabbed_pane/tabbed_pane.h"
#include "ui/views/controls/table/table_view.h"
#include "ui/views/controls/table/table_view_observer.h"

namespace {

bool IsDesktopMediaTabList(views::View* view) {}

}  // namespace

DesktopMediaPickerViewsTestApi::DesktopMediaPickerViewsTestApi() = default;
DesktopMediaPickerViewsTestApi::~DesktopMediaPickerViewsTestApi() = default;

void DesktopMediaPickerViewsTestApi::FocusSourceAtIndex(size_t index,
                                                        bool select) {}

bool DesktopMediaPickerViewsTestApi::AudioSupported(
    DesktopMediaList::Type type) const {}

void DesktopMediaPickerViewsTestApi::FocusAudioShareControl() {}

void DesktopMediaPickerViewsTestApi::PressMouseOnSourceAtIndex(
    size_t index,
    bool double_click) {}

void DesktopMediaPickerViewsTestApi::PressKeyOnSourceAtIndex(
    size_t index,
    const ui::KeyEvent& event) {}

void DesktopMediaPickerViewsTestApi::DoubleTapSourceAtIndex(size_t index) {}

void DesktopMediaPickerViewsTestApi::SelectTabForSourceType(
    DesktopMediaList::Type source_type) {}

DesktopMediaList::Type
DesktopMediaPickerViewsTestApi::GetSelectedSourceListType() const {}

std::optional<int> DesktopMediaPickerViewsTestApi::GetSelectedSourceId() const {}

bool DesktopMediaPickerViewsTestApi::HasSourceAtIndex(size_t index) const {}

views::View* DesktopMediaPickerViewsTestApi::GetSelectedListView() {}

DesktopMediaListController*
DesktopMediaPickerViewsTestApi::GetSelectedController() {}

bool DesktopMediaPickerViewsTestApi::HasAudioShareControl() const {}

std::u16string DesktopMediaPickerViewsTestApi::GetAudioLabelText() const {}

void DesktopMediaPickerViewsTestApi::SetAudioSharingApprovedByUser(bool allow) {}

bool DesktopMediaPickerViewsTestApi::IsAudioSharingApprovedByUser() const {}

views::MdTextButton* DesktopMediaPickerViewsTestApi::GetReselectButton() {}

const DesktopMediaPaneView* DesktopMediaPickerViewsTestApi::GetActivePane()
    const {}

DesktopMediaPaneView* DesktopMediaPickerViewsTestApi::GetActivePane() {}

#if BUILDFLAG(IS_MAC)
void DesktopMediaPickerViewsTestApi::OnPermissionUpdate(bool has_permission) {
  picker_->dialog_->OnPermissionUpdate(has_permission);
}
#endif

const views::View* DesktopMediaPickerViewsTestApi::GetSourceAtIndex(
    size_t index) const {}

views::View* DesktopMediaPickerViewsTestApi::GetSourceAtIndex(size_t index) {}

const views::TableView* DesktopMediaPickerViewsTestApi::GetTableView() const {}

views::TableView* DesktopMediaPickerViewsTestApi::GetTableView() {}