#include "chrome/browser/ui/views/media_router/cast_dialog_access_code_cast_button.h"
#include <memory>
#include <utility>
#include "chrome/browser/media/router/discovery/access_code/access_code_cast_feature.h"
#include "chrome/browser/media/router/media_router_feature.h"
#include "chrome/browser/ui/views/media_router/cast_dialog_helper.h"
#include "chrome/grit/generated_resources.h"
#include "components/vector_icons/vector_icons.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/metadata/metadata_impl_macros.h"
#include "ui/gfx/paint_vector_icon.h"
#include "ui/views/border.h"
#include "ui/views/vector_icons.h"
namespace media_router {
namespace {
std::unique_ptr<views::ImageView> CreatePrimaryIconView() { … }
std::u16string CreateText() { … }
}
CastDialogAccessCodeCastButton::CastDialogAccessCodeCastButton(
PressedCallback callback)
: … { … }
CastDialogAccessCodeCastButton::~CastDialogAccessCodeCastButton() = default;
bool CastDialogAccessCodeCastButton::OnMousePressed(
const ui::MouseEvent& event) { … }
void CastDialogAccessCodeCastButton::OnMouseReleased(
const ui::MouseEvent& event) { … }
BEGIN_METADATA(…)
}