Allow positioning the context menu

This commit is contained in:
Joao Moreno 2014-11-25 16:47:41 +01:00
parent 03f19bea6b
commit 46e6b5ec3e
7 changed files with 40 additions and 5 deletions

View file

@ -55,6 +55,7 @@ class Menu : public mate::Wrappable,
virtual void AttachToWindow(Window* window);
virtual void Popup(Window* window) = 0;
virtual void PopupAt(Window* window, int x, int y) = 0;
scoped_ptr<ui::SimpleMenuModel> model_;
Menu* parent_;