chromium/chrome/browser/ui/views/webauthn/pin_textfield.h

// Copyright 2024 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CHROME_BROWSER_UI_VIEWS_WEBAUTHN_PIN_TEXTFIELD_H_
#define CHROME_BROWSER_UI_VIEWS_WEBAUTHN_PIN_TEXTFIELD_H_

#include <memory>
#include <vector>

#include "ui/base/metadata/metadata_impl_macros.h"
#include "ui/gfx/render_text.h"
#include "ui/views/controls/textfield/textfield.h"
#include "ui/views/view.h"

namespace ui {
struct AXNodeData;
}  // namespace ui

// Implements textfield for entering a PIN number with custom drawing logic for
// displaying each digit in a separate cell.
class PinTextfield : public views::Textfield {};

#endif  // CHROME_BROWSER_UI_VIEWS_WEBAUTHN_PIN_TEXTFIELD_H_