#include "chrome/browser/ui/views/webauthn/authenticator_gpm_arbitrary_pin_view.h"
#include <string>
#include "chrome/browser/ui/views/webauthn/reveal_button_util.h"
#include "ui/base/metadata/metadata_impl_macros.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 = …;
constexpr int kPinTextfieldWidthInChars = …;
}
AuthenticatorGPMArbitraryPinView::AuthenticatorGPMArbitraryPinView(
bool ui_disabled,
const std::u16string& pin,
const std::u16string& pin_accessible_name,
const std::u16string& pin_accessible_description,
Delegate* delegate)
: … { … }
AuthenticatorGPMArbitraryPinView::~AuthenticatorGPMArbitraryPinView() = default;
void AuthenticatorGPMArbitraryPinView::OnRevealButtonClicked() { … }
void AuthenticatorGPMArbitraryPinView::RequestFocus() { … }
void AuthenticatorGPMArbitraryPinView::ContentsChanged(
views::Textfield* sender,
const std::u16string& new_contents) { … }
BEGIN_METADATA(…)