#include "chrome/browser/status_icons/status_icon_menu_model.h"
#include "base/functional/bind.h"
#include "base/observer_list.h"
#include "ui/base/accelerators/accelerator.h"
#include "ui/gfx/image/image.h"
struct StatusIconMenuModel::ItemState { … };
StatusIconMenuModel::StatusIconMenuModel(Delegate* delegate)
: … { … }
StatusIconMenuModel::~StatusIconMenuModel() { … }
void StatusIconMenuModel::SetCommandIdChecked(int command_id, bool checked) { … }
void StatusIconMenuModel::SetCommandIdEnabled(int command_id, bool enabled) { … }
void StatusIconMenuModel::SetCommandIdVisible(int command_id, bool visible) { … }
void StatusIconMenuModel::SetAcceleratorForCommandId(
int command_id, const ui::Accelerator* accelerator) { … }
void StatusIconMenuModel::ChangeLabelForCommandId(int command_id,
const std::u16string& label) { … }
void StatusIconMenuModel::ChangeIconForCommandId(
int command_id, const gfx::Image& icon) { … }
void StatusIconMenuModel::AddObserver(Observer* observer) { … }
void StatusIconMenuModel::RemoveObserver(Observer* observer) { … }
bool StatusIconMenuModel::IsCommandIdChecked(int command_id) const { … }
bool StatusIconMenuModel::IsCommandIdEnabled(int command_id) const { … }
bool StatusIconMenuModel::IsCommandIdVisible(int command_id) const { … }
bool StatusIconMenuModel::GetAcceleratorForCommandId(
int command_id, ui::Accelerator* accelerator) const { … }
bool StatusIconMenuModel::IsItemForCommandIdDynamic(int command_id) const { … }
std::u16string StatusIconMenuModel::GetLabelForCommandId(int command_id) const { … }
ui::ImageModel StatusIconMenuModel::GetIconForCommandId(int command_id) const { … }
void StatusIconMenuModel::MenuItemsChanged() { … }
void StatusIconMenuModel::NotifyMenuStateChanged() { … }
void StatusIconMenuModel::ExecuteCommand(int command_id, int event_flags) { … }