[Win] Use the modified Menu2 class.
This commit is contained in:
parent
ee10c469c8
commit
6193a889ff
2 changed files with 5 additions and 7 deletions
|
@ -7,12 +7,10 @@
|
|||
|
||||
#include "browser/api/atom_api_menu.h"
|
||||
|
||||
namespace views {
|
||||
class Menu2;
|
||||
}
|
||||
|
||||
namespace atom {
|
||||
|
||||
class Menu2;
|
||||
|
||||
namespace api {
|
||||
|
||||
class MenuWin : public Menu {
|
||||
|
@ -24,7 +22,7 @@ class MenuWin : public Menu {
|
|||
virtual void Popup(NativeWindow* window) OVERRIDE;
|
||||
|
||||
private:
|
||||
scoped_ptr<views::Menu2> menu_;
|
||||
scoped_ptr<atom::Menu2> menu_;
|
||||
|
||||
DISALLOW_COPY_AND_ASSIGN(MenuWin);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue