chromium/chrome/browser/ui/tabs/existing_base_sub_menu_model.cc

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

#include "chrome/browser/ui/tabs/existing_base_sub_menu_model.h"

#include "chrome/browser/ui/tabs/tab_strip_model.h"
#include "ui/base/resource/resource_bundle.h"

ExistingBaseSubMenuModel::ExistingBaseSubMenuModel(
    ui::SimpleMenuModel::Delegate* parent_delegate,
    TabStripModel* model,
    int context_index,
    int min_command_id,
    int parent_new_command_id)
    :{}

bool ExistingBaseSubMenuModel::IsCommandIdAlerted(int command_id) const {}

constexpr int ExistingBaseSubMenuModel::kMinExistingWindowCommandId;
constexpr int ExistingBaseSubMenuModel::kMinExistingTabGroupCommandId;

void ExistingBaseSubMenuModel::ExecuteCommand(int command_id, int event_flags) {}

ExistingBaseSubMenuModel::~ExistingBaseSubMenuModel() = default;

ExistingBaseSubMenuModel::MenuItemInfo::MenuItemInfo(
    const std::u16string menu_text)
    :{}

ExistingBaseSubMenuModel::MenuItemInfo::MenuItemInfo(
    const std::u16string& menu_text,
    ui::ImageModel menu_image)
    :{}

ExistingBaseSubMenuModel::MenuItemInfo::MenuItemInfo(
    const MenuItemInfo& menu_item_info) = default;

ExistingBaseSubMenuModel::MenuItemInfo::~MenuItemInfo() = default;

void ExistingBaseSubMenuModel::Build(
    int new_text,
    std::vector<MenuItemInfo> menu_item_infos) {}

void ExistingBaseSubMenuModel::ClearMenu() {}

bool ExistingBaseSubMenuModel::IsNewCommand(int command_id) const {}

void ExistingBaseSubMenuModel::ExecuteExistingCommand(size_t target_index) {}

int ExistingBaseSubMenuModel::GetContextIndex() const {}