blob: 5b1e58d75bb1fbd0fb7558a4f802af78dcf670d4 [file] [log] [blame]
// Copyright 2025 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_UI_COCOA_GROUP_MENU_UTIL_H_
#define CHROME_BROWSER_UI_COCOA_GROUP_MENU_UTIL_H_
#import <AppKit/AppKit.h>
#include "components/tab_groups/tab_group_color.h"
namespace chrome {
// Append a group indicator to the right side of the menu item if
// tab_group_color is set, Otherwise remove the group indicator if any.
void UpdateGroupIndicatorForMenuItem(
NSMenuItem* item,
std::optional<tab_groups::TabGroupColorId> tab_group_color_id);
} // namespace chrome
#endif // CHROME_BROWSER_UI_COCOA_GROUP_MENU_UTIL_H_