#include "ui/views/examples/button_sticker_sheet.h"
#include <memory>
#include <string>
#include <utility>
#include <vector>
#include "base/memory/ptr_util.h"
#include "base/strings/utf_string_conversions.h"
#include "ui/views/controls/button/button.h"
#include "ui/views/controls/button/md_text_button.h"
#include "ui/views/layout/table_layout.h"
namespace views::examples {
namespace {
TableLayout* MakeStretchyTableLayout(View* host, int ncols) { … }
std::unique_ptr<View> MakePlainLabel(const std::string& text) { … }
template <typename T>
void AddLabeledRow(View* parent,
const std::string& label_text,
std::vector<std::unique_ptr<T>> views) { … }
std::vector<std::unique_ptr<MdTextButton>> MakeButtonsInState(
Button::ButtonState state) { … }
}
ButtonStickerSheet::ButtonStickerSheet()
: … { … }
ButtonStickerSheet::~ButtonStickerSheet() = default;
void ButtonStickerSheet::CreateExampleView(View* container) { … }
}