#ifndef UI_BASE_MENU_SOURCE_UTILS_H_
#define UI_BASE_MENU_SOURCE_UTILS_H_
#include "base/component_export.h"
#include "build/branding_buildflags.h"
#include "build/build_config.h"
#include "ui/base/mojom/menu_source_type.mojom-forward.h"
namespace ui {
class Event;
COMPONENT_EXPORT(UI_BASE)
mojom::MenuSourceType GetMenuSourceTypeForEvent(const Event& event);
#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(GOOGLE_CHROME_BRANDING)
COMPONENT_EXPORT(UI_BASE)
mojom::MenuSourceType GetMenuSourceType(int event_flags);
#endif
}
#endif