views: Add WindowStateWatcher

This commit is contained in:
Cheng Zhao 2014-11-25 11:46:30 +08:00
parent 84fcfd1fac
commit 06cc27c6b3
5 changed files with 66 additions and 0 deletions

View file

@ -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_;