chromium/ui/base/models/menu_model.cc

// Copyright 2011 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/menu_model.h"

#include "ui/base/models/image_model.h"
#include "ui/base/resource/resource_bundle.h"

namespace ui {

MenuModel::MenuModel() :{}

MenuModel::~MenuModel() {}

bool MenuModel::IsVisibleAt(size_t index) const {}

bool MenuModel::IsAlertedAt(size_t index) const {}

bool MenuModel::IsNewFeatureAt(size_t index) const {}

ElementIdentifier MenuModel::GetElementIdentifierAt(size_t index) const {}

// static
bool MenuModel::GetModelAndIndexForCommandId(int command_id,
                                             MenuModel** model,
                                             size_t* index) {}

std::u16string MenuModel::GetMinorTextAt(size_t index) const {}

std::u16string MenuModel::GetSecondaryLabelAt(size_t index) const {}

ImageModel MenuModel::GetMinorIconAt(size_t index) const {}

bool MenuModel::MayHaveMnemonicsAt(size_t index) const {}

std::u16string MenuModel::GetAccessibleNameAt(size_t index) const {}

const gfx::FontList* MenuModel::GetLabelFontListAt(size_t index) const {}

// Default implementation ignores the event flags.
void MenuModel::ActivatedAt(size_t index, int event_flags) {}

void MenuModel::SetMenuModelDelegate(MenuModelDelegate* delegate) {}

std::optional<ui::ColorId> MenuModel::GetForegroundColorId(size_t index) {}

std::optional<ui::ColorId> MenuModel::GetSubmenuBackgroundColorId(
    size_t index) {}

std::optional<ui::ColorId> MenuModel::GetSelectedBackgroundColorId(
    size_t index) {}

}  // namespace ui