#include "chrome/browser/ui/views/webauthn/authenticator_gpm_pin_view.h"
#include "base/strings/string_util.h"
#include "chrome/browser/ui/views/webauthn/reveal_button_util.h"
#include "ui/events/keycodes/keyboard_codes.h"
#include "ui/views/accessibility/view_accessibility.h"
#include "ui/views/controls/textfield/textfield.h"
#include "ui/views/layout/box_layout.h"
namespace {
constexpr int kBetweenChildSpacing = …;
}
AuthenticatorGPMPinView::AuthenticatorGPMPinView(
int pin_digits_count,
bool ui_disabled,
const std::u16string& pin,
const std::u16string& pin_accessible_description,
Delegate* delegate)
: … { … }
AuthenticatorGPMPinView::~AuthenticatorGPMPinView() = default;
void AuthenticatorGPMPinView::RequestFocus() { … }
bool AuthenticatorGPMPinView::HandleKeyEvent(views::Textfield* textfield,
const ui::KeyEvent& event) { … }
void AuthenticatorGPMPinView::OnRevealButtonClicked() { … }
BEGIN_METADATA(…)