Searched refs:NativeMenuWin (Results 1 – 4 of 4) sorted by relevance
51 struct NativeMenuWin::ItemData {61 NativeMenuWin* native_menu_win;68 static NativeMenuWin* GetNativeMenuWinFromHMENU(HMENU hmenu) { in GetNativeMenuWinFromHMENU()73 return reinterpret_cast<NativeMenuWin*>(mi.dwMenuData); in GetNativeMenuWinFromHMENU()78 class NativeMenuWin::MenuHostWindow {80 explicit MenuHostWindow(NativeMenuWin* parent) : parent_(parent) { in MenuHostWindow()142 NativeMenuWin::ItemData* GetItemData(ULONG_PTR item_data) { in GetItemData()143 return reinterpret_cast<NativeMenuWin::ItemData*>(item_data); in GetItemData()148 NativeMenuWin* menu_win = GetNativeMenuWinFromHMENU(menu); in OnMenuCommand()150 NativeMenuWin* root_menu = menu_win; in OnMenuCommand()[all …]
27 class VIEWS_EXPORT NativeMenuWin : public MenuWrapper {32 NativeMenuWin(ui::MenuModel* model, HWND system_menu_for);33 virtual ~NativeMenuWin();147 NativeMenuWin* menu_to_select_;149 base::WeakPtrFactory<NativeMenuWin> menu_to_select_factory_;152 NativeMenuWin* parent_;162 static NativeMenuWin* open_native_menu_win_;164 DISALLOW_COPY_AND_ASSIGN(NativeMenuWin);
21 class NativeMenuWin; variable35 views::NativeMenuWin* GetSystemMenu();70 scoped_ptr<views::NativeMenuWin> system_menu_;
97 views::NativeMenuWin* BrowserDesktopWindowTreeHostWin::GetSystemMenu() { in GetSystemMenu()101 new views::NativeMenuWin(browser_frame_->GetSystemMenuModel(), in GetSystemMenu()