#include "chrome/browser/ui/views/webauthn/authenticator_request_dialog_view.h"
#include <memory>
#include <string>
#include <utility>
#include "base/check.h"
#include "base/functional/bind.h"
#include "base/notreached.h"
#include "chrome/browser/ui/views/extensions/security_dialog_tracker.h"
#include "chrome/browser/ui/views/webauthn/authenticator_gpm_account_info_view.h"
#include "chrome/browser/ui/views/webauthn/authenticator_request_sheet_view.h"
#include "chrome/browser/ui/views/webauthn/pin_options_button.h"
#include "chrome/browser/ui/views/webauthn/sheet_view_factory.h"
#include "chrome/browser/ui/webauthn/authenticator_request_sheet_model.h"
#include "chrome/browser/ui/webauthn/sheet_models.h"
#include "chrome/browser/webauthn/authenticator_request_dialog_model.h"
#include "chrome/grit/generated_resources.h"
#include "components/constrained_window/constrained_window_views.h"
#include "components/web_modal/web_contents_modal_dialog_manager.h"
#include "components/web_modal/web_contents_modal_dialog_manager_delegate.h"
#include "content/public/browser/visibility.h"
#include "content/public/browser/web_contents_observer.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/base/mojom/ui_base_types.mojom-shared.h"
#include "ui/base/ui_base_types.h"
#include "ui/views/accessibility/view_accessibility.h"
#include "ui/views/bubble/bubble_frame_view.h"
#include "ui/views/controls/button/md_text_button.h"
#include "ui/views/layout/fill_layout.h"
#include "ui/views/layout/layout_provider.h"
#include "ui/views/view.h"
Step;
void ShowAuthenticatorRequestDialog(
content::WebContents* web_contents,
scoped_refptr<AuthenticatorRequestDialogModel> model) { … }
AuthenticatorRequestDialogView::~AuthenticatorRequestDialogView() { … }
void AuthenticatorRequestDialogView::ReplaceCurrentSheetWith(
std::unique_ptr<AuthenticatorRequestSheetView> new_sheet) { … }
void AuthenticatorRequestDialogView::UpdateUIForCurrentSheet() { … }
bool AuthenticatorRequestDialogView::ShouldOtherMechanismsButtonBeVisible()
const { … }
void AuthenticatorRequestDialogView::AddedToWidget() { … }
bool AuthenticatorRequestDialogView::Accept() { … }
bool AuthenticatorRequestDialogView::Cancel() { … }
bool AuthenticatorRequestDialogView::IsDialogButtonEnabled(
ui::mojom::DialogButton button) const { … }
views::View* AuthenticatorRequestDialogView::GetInitiallyFocusedView() { … }
std::u16string AuthenticatorRequestDialogView::GetWindowTitle() const { … }
void AuthenticatorRequestDialogView::OnModelDestroyed(
AuthenticatorRequestDialogModel* model) { … }
void AuthenticatorRequestDialogView::OnStepTransition() { … }
void AuthenticatorRequestDialogView::OnSheetModelChanged() { … }
void AuthenticatorRequestDialogView::OnButtonsStateChanged() { … }
void AuthenticatorRequestDialogView::OnVisibilityChanged(
content::Visibility visibility) { … }
AuthenticatorRequestDialogView::AuthenticatorRequestDialogView(
content::WebContents* web_contents,
scoped_refptr<AuthenticatorRequestDialogModel> model)
: … { … }
void AuthenticatorRequestDialogView::Show() { … }
void AuthenticatorRequestDialogView::OtherMechanismsButtonPressed() { … }
void AuthenticatorRequestDialogView::ManageDevicesButtonPressed() { … }
void AuthenticatorRequestDialogView::ForgotGPMPinPressed() { … }
void AuthenticatorRequestDialogView::GPMPinOptionChosen(bool is_arbitrary) { … }
void AuthenticatorRequestDialogView::UpdateFooter() { … }
BEGIN_METADATA(…)