Searched refs:CefNativeMenuWin (Results 1 – 4 of 4) sorted by relevance
25 class CefNativeMenuWin : public MenuWrapper {31 CefNativeMenuWin(ui::MenuModel* model, HWND system_menu_for);33 CefNativeMenuWin(const CefNativeMenuWin&) = delete;34 CefNativeMenuWin& operator=(const CefNativeMenuWin&) = delete;36 ~CefNativeMenuWin() override;143 CefNativeMenuWin* menu_to_select_;147 CefNativeMenuWin* parent_;154 base::WeakPtrFactory<CefNativeMenuWin> menu_to_select_factory_;159 static CefNativeMenuWin* open_native_menu_win_;
102 struct CefNativeMenuWin::ItemData {112 CefNativeMenuWin* native_menu_win;119 static CefNativeMenuWin* GetCefNativeMenuWinFromHMENU(HMENU hmenu) { in GetCefNativeMenuWinFromHMENU()124 return reinterpret_cast<CefNativeMenuWin*>(mi.dwMenuData); in GetCefNativeMenuWinFromHMENU()129 class CefNativeMenuWin::MenuHostWindow {186 CefNativeMenuWin::ItemData* GetItemData(ULONG_PTR item_data) { in GetItemData()187 return reinterpret_cast<CefNativeMenuWin::ItemData*>(item_data); in GetItemData()192 CefNativeMenuWin* menu_win = GetCefNativeMenuWinFromHMENU(menu); in OnMenuCommand()194 CefNativeMenuWin* root_menu = menu_win; in OnMenuCommand()206 CefNativeMenuWin::ItemData* data = in OnMeasureItem()[all …]
23 std::unique_ptr<views::CefNativeMenuWin> menu_;
20 menu_.reset(new views::CefNativeMenuWin(model->model(), nullptr)); in RunContextMenu()