chromium/ui/base/models/dialog_model_menu_model_adapter.cc

// Copyright 2021 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/dialog_model_menu_model_adapter.h"

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

namespace ui {

DialogModelMenuModelAdapter::DialogModelMenuModelAdapter(
    std::unique_ptr<DialogModel> model)
    :{}

DialogModelMenuModelAdapter::~DialogModelMenuModelAdapter() = default;

void DialogModelMenuModelAdapter::Close() {}

// TODO(pbos): This should probably not be hosting a DialogModel but rather
// another model with DialogModelSection(s).
void DialogModelMenuModelAdapter::OnDialogButtonChanged() {}

base::WeakPtr<ui::MenuModel> DialogModelMenuModelAdapter::AsWeakPtr() {}

size_t DialogModelMenuModelAdapter::GetItemCount() const {}

MenuModel::ItemType DialogModelMenuModelAdapter::GetTypeAt(size_t index) const {}

MenuSeparatorType DialogModelMenuModelAdapter::GetSeparatorTypeAt(
    size_t index) const {}

int DialogModelMenuModelAdapter::GetCommandIdAt(size_t index) const {}

std::u16string DialogModelMenuModelAdapter::GetLabelAt(size_t index) const {}

bool DialogModelMenuModelAdapter::IsItemDynamicAt(size_t index) const {}

bool DialogModelMenuModelAdapter::GetAcceleratorAt(
    size_t index,
    ui::Accelerator* accelerator) const {}

bool DialogModelMenuModelAdapter::IsItemCheckedAt(size_t index) const {}

int DialogModelMenuModelAdapter::GetGroupIdAt(size_t index) const {}

ImageModel DialogModelMenuModelAdapter::GetIconAt(size_t index) const {}

ButtonMenuItemModel* DialogModelMenuModelAdapter::GetButtonMenuItemAt(
    size_t index) const {}

bool DialogModelMenuModelAdapter::IsEnabledAt(size_t index) const {}

ui::ElementIdentifier DialogModelMenuModelAdapter::GetElementIdentifierAt(
    size_t index) const {}

MenuModel* DialogModelMenuModelAdapter::GetSubmenuModelAt(size_t index) const {}

void DialogModelMenuModelAdapter::ActivatedAt(size_t index) {}

void DialogModelMenuModelAdapter::ActivatedAt(size_t index, int event_flags) {}

const DialogModelField* DialogModelMenuModelAdapter::GetField(
    size_t index) const {}

DialogModelField* DialogModelMenuModelAdapter::GetField(size_t index) {}

}  // namespace ui