#ifndef UI_VIEWS_CONTROLS_MENU_MENU_RUNNER_HANDLER_H_
#define UI_VIEWS_CONTROLS_MENU_MENU_RUNNER_HANDLER_H_
#include <stdint.h>
#include "ui/base/mojom/menu_source_type.mojom-forward.h"
namespace gfx {
class Rect;
}
namespace views {
enum class MenuAnchorPosition;
class MenuButtonController;
class Widget;
class VIEWS_EXPORT MenuRunnerHandler {
public:
virtual ~MenuRunnerHandler() = default;
virtual void RunMenuAt(Widget* parent,
MenuButtonController* button_controller,
const gfx::Rect& bounds,
MenuAnchorPosition anchor,
ui::mojom::MenuSourceType source_type,
int32_t types) = 0;
};
}
#endif