| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ | 5 #ifndef VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ |
| 6 #define VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ | 6 #define VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <atlbase.h> | 9 #include <atlbase.h> |
| 10 #include <atlapp.h> | 10 #include <atlapp.h> |
| (...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 272 // Information saved before going into fullscreen mode, used to restore the | 272 // Information saved before going into fullscreen mode, used to restore the |
| 273 // window afterwards. | 273 // window afterwards. |
| 274 struct SavedWindowInfo { | 274 struct SavedWindowInfo { |
| 275 bool maximized; | 275 bool maximized; |
| 276 LONG style; | 276 LONG style; |
| 277 LONG ex_style; | 277 LONG ex_style; |
| 278 RECT window_rect; | 278 RECT window_rect; |
| 279 }; | 279 }; |
| 280 | 280 |
| 281 // Overridden from MessageLoop::Observer: | 281 // Overridden from MessageLoop::Observer: |
| 282 void WillProcessMessage(const MSG& msg) OVERRIDE; | 282 base::EventStatus WillProcessEvent(const MSG& msg) OVERRIDE; |
| 283 virtual void DidProcessMessage(const MSG& msg) OVERRIDE; | 283 virtual void DidProcessEvent(const MSG& msg) OVERRIDE; |
| 284 | 284 |
| 285 // Overridden from WindowImpl: | 285 // Overridden from WindowImpl: |
| 286 virtual HICON GetDefaultWindowIcon() const OVERRIDE; | 286 virtual HICON GetDefaultWindowIcon() const OVERRIDE; |
| 287 virtual LRESULT OnWndProc(UINT message, | 287 virtual LRESULT OnWndProc(UINT message, |
| 288 WPARAM w_param, | 288 WPARAM w_param, |
| 289 LPARAM l_param) OVERRIDE; | 289 LPARAM l_param) OVERRIDE; |
| 290 | 290 |
| 291 // Message Handlers ---------------------------------------------------------- | 291 // Message Handlers ---------------------------------------------------------- |
| 292 | 292 |
| 293 BEGIN_MSG_MAP_EX(NativeWidgetWin) | 293 BEGIN_MSG_MAP_EX(NativeWidgetWin) |
| (...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 663 // rather than asking the Widget for the non_client_view so that we know at | 663 // rather than asking the Widget for the non_client_view so that we know at |
| 664 // Init time, before the Widget has created the NonClientView. | 664 // Init time, before the Widget has created the NonClientView. |
| 665 bool has_non_client_view_; | 665 bool has_non_client_view_; |
| 666 | 666 |
| 667 DISALLOW_COPY_AND_ASSIGN(NativeWidgetWin); | 667 DISALLOW_COPY_AND_ASSIGN(NativeWidgetWin); |
| 668 }; | 668 }; |
| 669 | 669 |
| 670 } // namespace views | 670 } // namespace views |
| 671 | 671 |
| 672 #endif // VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ | 672 #endif // VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ |
| OLD | NEW |