// Copyright 2018 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_HOVER_LIST_VIEW_H_ #define CHROME_BROWSER_UI_VIEWS_WEBAUTHN_HOVER_LIST_VIEW_H_ #include <map> #include <memory> #include <optional> #include <string> #include "base/memory/raw_ptr.h" #include "chrome/browser/ui/webauthn/hover_list_model.h" #include "ui/base/metadata/metadata_header_macros.h" #include "ui/base/models/image_model.h" #include "ui/views/controls/scroll_view.h" #include "ui/views/view.h" namespace views { class Separator; } // namespace views class WebAuthnHoverButton; // View that shows a list of items. Each item is rendered as a HoverButton with // an icon, name, optional description, and chevron, like so: // // +----------------------------------+ // | ICON1 | Item 1 name | > | // | | Item 1 description | > | // +----------------------------------+ // | ICON2 | Item 2 name | > | // | | Item 2 description | > | // +----------------------------------+ // | ICON3 | Item 3 name | > | // | | Item 3 description | > | // +----------------------------------+ // class HoverListView : public views::View { … }; #endif // CHROME_BROWSER_UI_VIEWS_WEBAUTHN_HOVER_LIST_VIEW_H_