chromium/ui/base/models/simple_combobox_model.cc

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

#include "ui/base/models/simple_combobox_model.h"

#include <utility>

#include "ui/base/models/combobox_model_observer.h"

namespace ui {

SimpleComboboxModel::Item::Item(std::u16string text) :{}
SimpleComboboxModel::Item::Item(std::u16string text,
                                std::u16string dropdown_secondary_text,
                                ui::ImageModel icon)
    :{}
SimpleComboboxModel::Item::Item(const SimpleComboboxModel::Item& other) =
    default;
SimpleComboboxModel::Item& SimpleComboboxModel::Item::operator=(
    const SimpleComboboxModel::Item& other) = default;
SimpleComboboxModel::Item::Item(SimpleComboboxModel::Item&& other) = default;
SimpleComboboxModel::Item& SimpleComboboxModel::Item::operator=(
    SimpleComboboxModel::Item&& other) = default;
SimpleComboboxModel::Item::~Item() = default;

// static
SimpleComboboxModel::Item SimpleComboboxModel::Item::CreateSeparator() {}

SimpleComboboxModel::SimpleComboboxModel(std::vector<Item> items)
    :{}

SimpleComboboxModel::~SimpleComboboxModel() = default;

void SimpleComboboxModel::UpdateItemList(std::vector<Item> items) {}

size_t SimpleComboboxModel::GetItemCount() const {}

std::u16string SimpleComboboxModel::GetItemAt(size_t index) const {}

std::u16string SimpleComboboxModel::GetDropDownSecondaryTextAt(
    size_t index) const {}

ui::ImageModel SimpleComboboxModel::GetIconAt(size_t index) const {}

bool SimpleComboboxModel::IsItemSeparatorAt(size_t index) const {}

std::optional<size_t> SimpleComboboxModel::GetDefaultIndex() const {}

}  // namespace ui