#include "chrome/browser/ui/views/media_router/cast_dialog_coordinator.h"
#include <memory>
#include "base/time/time.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/media_router/cast_dialog_controller.h"
#include "chrome/browser/ui/views/frame/browser_view.h"
#include "chrome/browser/ui/views/frame/top_container_view.h"
#include "chrome/browser/ui/views/media_router/cast_dialog_view.h"
#include "chrome/browser/ui/views/media_router/cast_toolbar_button.h"
#include "chrome/browser/ui/views/toolbar/toolbar_view.h"
#include "components/media_router/browser/media_router_metrics.h"
#include "ui/views/view.h"
#include "ui/views/view_tracker.h"
#include "ui/views/widget/widget.h"
namespace media_router {
void CastDialogCoordinator::ShowDialogWithToolbarAction(
CastDialogController* controller,
Browser* browser,
const base::Time& start_time,
MediaRouterDialogActivationLocation activation_location) { … }
void CastDialogCoordinator::ShowDialogCenteredForBrowserWindow(
CastDialogController* controller,
Browser* browser,
const base::Time& start_time,
MediaRouterDialogActivationLocation activation_location) { … }
void CastDialogCoordinator::ShowDialogCentered(
const gfx::Rect& bounds,
CastDialogController* controller,
Profile* profile,
const base::Time& start_time,
MediaRouterDialogActivationLocation activation_location) { … }
void CastDialogCoordinator::Hide() { … }
bool CastDialogCoordinator::IsShowing() const { … }
void CastDialogCoordinator::Show(
views::View* anchor_view,
views::BubbleBorder::Arrow anchor_position,
CastDialogController* controller,
Profile* profile,
const base::Time& start_time,
MediaRouterDialogActivationLocation activation_location) { … }
CastDialogView* CastDialogCoordinator::GetCastDialogView() { … }
views::Widget* CastDialogCoordinator::GetCastDialogWidget() { … }
}