chromium/ios/chrome/browser/badges/ui_bundled/badge_overflow_menu_util.h

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

#ifndef IOS_CHROME_BROWSER_BADGES_UI_BUNDLED_BADGE_OVERFLOW_MENU_UTIL_H_
#define IOS_CHROME_BROWSER_BADGES_UI_BUNDLED_BADGE_OVERFLOW_MENU_UTIL_H_

#import "ios/chrome/browser/badges/ui_bundled/badge_type.h"

typedef void (^ShowModalFunction)(BadgeType);
@class UIMenu;

// Returns new popup menu that will be displayed when users tap the overflow
// badge button.
UIMenu* GetOverflowMenuFromBadgeTypes(NSArray<NSNumber*>* badge_types,
                                      ShowModalFunction show_modal_function);

#endif  // IOS_CHROME_BROWSER_BADGES_UI_BUNDLED_BADGE_OVERFLOW_MENU_UTIL_H_