chromium/chrome/browser/ui/views/global_media_controls/media_item_ui_device_selector_view.h

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

#ifndef CHROME_BROWSER_UI_VIEWS_GLOBAL_MEDIA_CONTROLS_MEDIA_ITEM_UI_DEVICE_SELECTOR_VIEW_H_
#define CHROME_BROWSER_UI_VIEWS_GLOBAL_MEDIA_CONTROLS_MEDIA_ITEM_UI_DEVICE_SELECTOR_VIEW_H_

#include "base/callback_list.h"
#include "base/gtest_prod_util.h"
#include "base/memory/raw_ptr.h"
#include "base/observer_list.h"
#include "chrome/browser/ui/media_router/cast_dialog_controller.h"
#include "chrome/browser/ui/views/global_media_controls/media_item_ui_footer_view.h"
#include "chrome/browser/ui/views/global_media_controls/media_notification_device_entry_ui.h"
#include "chrome/browser/ui/views/location_bar/icon_label_bubble_view.h"
#include "components/global_media_controls/public/constants.h"
#include "components/global_media_controls/public/mojom/device_service.mojom.h"
#include "components/global_media_controls/public/views/media_item_ui_device_selector.h"
#include "components/media_message_center/notification_theme.h"
#include "media/audio/audio_device_description.h"
#include "mojo/public/cpp/bindings/receiver.h"
#include "mojo/public/cpp/bindings/remote.h"
#include "ui/base/metadata/metadata_header_macros.h"

namespace {
class ExpandDeviceSelectorLabel;
class ExpandDeviceSelectorButton;

const char kAudioDevicesCountHistogramName[] =;
const char kCastDeviceCountHistogramName[] =;
const char kDeviceSelectorAvailableHistogramName[] =;
const char kDeviceSelectorOpenedHistogramName[] =;
}  // anonymous namespace

namespace global_media_controls {
class MediaItemUIView;
}  // namespace global_media_controls

class MediaItemUIDeviceSelectorDelegate;
class MediaItemUIDeviceSelectorObserver;

class MediaItemUIDeviceSelectorView
    : public global_media_controls::MediaItemUIDeviceSelector,
      public IconLabelBubbleView::Delegate,
      public MediaItemUIFooterView::Delegate,
      public global_media_controls::mojom::DeviceListClient {};

#endif  // CHROME_BROWSER_UI_VIEWS_GLOBAL_MEDIA_CONTROLS_MEDIA_ITEM_UI_DEVICE_SELECTOR_VIEW_H_