#ifndef CEF_LIBCEF_BROWSER_VIEWS_MENU_RUNNER_VIEWS_H_
#define CEF_LIBCEF_BROWSER_VIEWS_MENU_RUNNER_VIEWS_H_
#pragma once
#include "libcef/browser/menu_runner.h"
class CefBrowserViewImpl;
class CefMenuRunnerViews : public CefMenuRunner {
public:
explicit CefMenuRunnerViews(CefBrowserViewImpl* browser_view);
bool RunContextMenu(AlloyBrowserHostImpl* browser,
CefMenuModelImpl* model,
const content::ContextMenuParams& params) override;
void CancelContextMenu() override;
bool FormatLabel(std::u16string& label) override;
private:
CefBrowserViewImpl* browser_view_;
};
#endif