Simplify the GuestWindowManager
Instead of recording guest explicitly in a map, we just make use of closure for bookkeeping.
This commit is contained in:
parent
c71aa0995a
commit
0c21c863d7
3 changed files with 27 additions and 42 deletions
|
@ -59,6 +59,7 @@ class Window : public mate::EventEmitter,
|
|||
// APIs for NativeWindow.
|
||||
void Destroy();
|
||||
void Close();
|
||||
bool IsClosed();
|
||||
void Focus();
|
||||
bool IsFocused();
|
||||
void Show();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue