[Win] Remove the extra MenuWrapper class.

This commit is contained in:
Cheng Zhao 2013-08-19 16:30:25 +08:00
parent 738a929f8c
commit dde07f03ec
6 changed files with 36 additions and 107 deletions

View file

@ -156,7 +156,7 @@ class NativeMenuWin::MenuHostWindow {
// Only notify the model if it didn't already send out notification.
// See comment in MenuMessageHook for details.
if (root_menu->menu_action_ == MenuWrapper::MENU_ACTION_NONE)
if (root_menu->menu_action_ == MENU_ACTION_NONE)
model->ActivatedAt(position);
}
@ -758,12 +758,4 @@ void NativeMenuWin::CreateHostWindow() {
host_window_.reset(new MenuHostWindow(this));
}
////////////////////////////////////////////////////////////////////////////////
// MenuWrapper, public:
// static
MenuWrapper* MenuWrapper::CreateWrapper(ui::MenuModel* model) {
return new NativeMenuWin(model, NULL);
}
} // namespace atom