views: Add WindowStateWatcher
This commit is contained in:
parent
84fcfd1fac
commit
06cc27c6b3
5 changed files with 66 additions and 0 deletions
|
@ -22,6 +22,7 @@ namespace atom {
|
|||
|
||||
class GlobalMenuBarX11;
|
||||
class MenuBar;
|
||||
class WindowStateWatcher;
|
||||
|
||||
class NativeWindowViews : public NativeWindow,
|
||||
public views::WidgetDelegateView,
|
||||
|
@ -146,6 +147,9 @@ class NativeWindowViews : public NativeWindow,
|
|||
scoped_ptr<GlobalMenuBarX11> global_menu_bar_;
|
||||
#endif
|
||||
|
||||
// Handles window state events.
|
||||
scoped_ptr<WindowStateWatcher> window_state_watcher_;
|
||||
|
||||
// Handles unhandled keyboard messages coming back from the renderer process.
|
||||
scoped_ptr<views::UnhandledKeyboardEventHandler> keyboard_event_handler_;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue