Make WindowStateWatcher X11 only

On Windows we need to take another way of detecting window state events.
This commit is contained in:
Cheng Zhao 2014-11-25 13:05:04 +08:00
parent b77e6c369a
commit 588cc3c7ab
5 changed files with 11 additions and 19 deletions

View file

@ -145,10 +145,10 @@ class NativeWindowViews : public NativeWindow,
#if defined(USE_X11)
scoped_ptr<GlobalMenuBarX11> global_menu_bar_;
#endif
// Handles window state events.
scoped_ptr<WindowStateWatcher> window_state_watcher_;
#endif
// Handles unhandled keyboard messages coming back from the renderer process.
scoped_ptr<views::UnhandledKeyboardEventHandler> keyboard_event_handler_;