// 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_OPTIONS_BUTTON_H_ #define CHROME_BROWSER_UI_VIEWS_WEBAUTHN_PIN_OPTIONS_BUTTON_H_ #include "ui/base/metadata/metadata_header_macros.h" #include "ui/base/models/simple_menu_model.h" #include "ui/views/controls/button/md_text_button_with_down_arrow.h" namespace views { class MenuRunner; } // namespace views // Defines a button visible in the GPM pin creation dialog, that upon pressing // displays a menu with pin format options, allowing to pick one. class PinOptionsButton : public views::MdTextButtonWithDownArrow, public ui::SimpleMenuModel::Delegate { … }; #endif // CHROME_BROWSER_UI_VIEWS_WEBAUTHN_PIN_OPTIONS_BUTTON_H_