#include "chrome/browser/ui/views/webauthn/authenticator_request_sheet_view.h"
#include <memory>
#include <optional>
#include <string>
#include <tuple>
#include <utility>
#include <vector>
#include "base/check.h"
#include "base/memory/scoped_refptr.h"
#include "build/branding_buildflags.h"
#include "build/build_config.h"
#include "cc/paint/skottie_wrapper.h"
#include "chrome/app/vector_icons/vector_icons.h"
#include "chrome/browser/accessibility/accessibility_state_utils.h"
#include "chrome/browser/ui/views/accessibility/non_accessible_image_view.h"
#include "chrome/browser/ui/views/chrome_layout_provider.h"
#include "chrome/browser/ui/views/chrome_typography.h"
#include "chrome/browser/ui/webauthn/authenticator_request_sheet_model.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/base/models/image_model.h"
#include "ui/base/resource/resource_bundle.h"
#include "ui/color/color_id.h"
#include "ui/color/color_provider.h"
#include "ui/gfx/color_palette.h"
#include "ui/gfx/color_utils.h"
#include "ui/gfx/geometry/insets.h"
#include "ui/gfx/paint_vector_icon.h"
#include "ui/gfx/text_constants.h"
#include "ui/lottie/animation.h"
#include "ui/views/accessibility/view_accessibility.h"
#include "ui/views/border.h"
#include "ui/views/controls/animated_image_view.h"
#include "ui/views/controls/image_view.h"
#include "ui/views/controls/label.h"
#include "ui/views/controls/progress_bar.h"
#include "ui/views/layout/box_layout.h"
#include "ui/views/layout/layout_provider.h"
#include "ui/views/style/typography.h"
#include "ui/views/view_class_properties.h"
namespace {
constexpr int kImageMarginTop = …;
constexpr int kImageMarginBottom = …;
template <typename T>
void ConfigureHeaderIllustration(T* illustration, gfx::Size header_size) { … }
}
BoxLayout;
AuthenticatorRequestSheetView::AuthenticatorRequestSheetView(
std::unique_ptr<AuthenticatorRequestSheetModel> model)
: … { … }
AuthenticatorRequestSheetView::~AuthenticatorRequestSheetView() = default;
void AuthenticatorRequestSheetView::ReInitChildViews() { … }
views::View* AuthenticatorRequestSheetView::GetInitiallyFocusedView() { … }
std::unique_ptr<views::View>
AuthenticatorRequestSheetView::BuildStepSpecificHeader() { … }
std::pair<std::unique_ptr<views::View>,
AuthenticatorRequestSheetView::AutoFocus>
AuthenticatorRequestSheetView::BuildStepSpecificContent() { … }
int AuthenticatorRequestSheetView::GetSpacingBetweenTitleAndDescription() { … }
std::unique_ptr<views::View>
AuthenticatorRequestSheetView::CreateIllustrationWithOverlays() { … }
std::unique_ptr<views::View>
AuthenticatorRequestSheetView::CreateContentsBelowIllustration() { … }
void AuthenticatorRequestSheetView::OnThemeChanged() { … }
void AuthenticatorRequestSheetView::UpdateIconImageFromModel() { … }
BEGIN_METADATA(…)