#include "chrome/browser/ui/views/media_router/media_remoting_dialog_view.h"
#include "chrome/browser/ui/browser_finder.h"
#include "chrome/browser/ui/media_router/media_router_ui_service.h"
#include "chrome/browser/ui/toolbar/cast/cast_toolbar_button_controller.h"
#include "chrome/browser/ui/views/chrome_layout_provider.h"
#include "chrome/browser/ui/views/media_router/cast_toolbar_button.h"
#include "chrome/browser/ui/views/toolbar/toolbar_view.h"
#include "chrome/grit/generated_resources.h"
#include "components/media_router/common/pref_names.h"
#include "components/prefs/pref_service.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/metadata/metadata_impl_macros.h"
#include "ui/base/mojom/dialog_button.mojom.h"
#include "ui/views/controls/button/checkbox.h"
#include "ui/views/layout/box_layout.h"
#include "ui/views/style/typography.h"
namespace media_router {
MediaRemotingDialogCoordinatorViews::MediaRemotingDialogCoordinatorViews(
content::WebContents* web_contents)
: … { … }
MediaRemotingDialogCoordinatorViews::~MediaRemotingDialogCoordinatorViews() =
default;
bool MediaRemotingDialogCoordinatorViews::Show(
PermissionCallback permission_callback) { … }
void MediaRemotingDialogCoordinatorViews::Hide() { … }
bool MediaRemotingDialogCoordinatorViews::IsShowing() const { … }
MediaRemotingDialogView::MediaRemotingDialogView(
views::View* anchor_view,
PrefService* pref_service,
CastToolbarButtonController* action_controller,
MediaRemotingDialogCoordinator::PermissionCallback callback)
: … { … }
MediaRemotingDialogView::~MediaRemotingDialogView() { … }
void MediaRemotingDialogView::Init() { … }
void MediaRemotingDialogView::ReportPermission(bool allowed) { … }
BEGIN_METADATA(…)
}