#include "chrome/browser/ui/views/media_preview/media_coordinator.h"
#include <memory>
#include "chrome/browser/ui/views/chrome_layout_provider.h"
#include "chrome/browser/ui/views/media_preview/media_preview_metrics.h"
#include "chrome/browser/ui/views/media_preview/media_view.h"
#include "ui/color/color_id.h"
#include "ui/views/background.h"
#include "ui/views/border.h"
#include "ui/views/view.h"
#include "ui/views/view_observer.h"
MediaCoordinator::EligibleDevices::EligibleDevices() = default;
MediaCoordinator::EligibleDevices::EligibleDevices(
std::vector<std::string> cameras,
std::vector<std::string> mics)
: … { … }
MediaCoordinator::EligibleDevices::~EligibleDevices() = default;
MediaCoordinator::EligibleDevices::EligibleDevices(const EligibleDevices&) =
default;
MediaCoordinator::MediaCoordinator(
ViewType view_type,
views::View& parent_view,
bool is_subsection,
EligibleDevices eligible_devices,
PrefService& prefs,
bool allow_device_selection,
const media_preview_metrics::Context& metrics_context) { … }
MediaCoordinator::~MediaCoordinator() { … }
void MediaCoordinator::UpdateDevicePreferenceRanking() { … }
void MediaCoordinator::OnCameraPermissionChange(bool has_permission) { … }
namespace media_coordinator {
media_preview_metrics::PreviewType GetPreviewTypeFromMediaCoordinatorViewType(
MediaCoordinator::ViewType view_type) { … }
}