Home
last modified time | relevance | path

Searched refs:NativeMenuWin (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/ui/views/controls/menu/
Dnative_menu_win.cc51 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 …]
Dnative_menu_win.h27 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);
/external/chromium_org/chrome/browser/ui/views/frame/
Dbrowser_desktop_window_tree_host_win.h21 class NativeMenuWin; variable
35 views::NativeMenuWin* GetSystemMenu();
70 scoped_ptr<views::NativeMenuWin> system_menu_;
Dbrowser_desktop_window_tree_host_win.cc97 views::NativeMenuWin* BrowserDesktopWindowTreeHostWin::GetSystemMenu() { in GetSystemMenu()
101 new views::NativeMenuWin(browser_frame_->GetSystemMenuModel(), in GetSystemMenu()