| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 BASE_WINDOW_IMPL_H_ | 5 #ifndef APP_WIN_WINDOW_IMPL_H_ |
| 6 #define BASE_WINDOW_IMPL_H_ | 6 #define APP_WIN_WINDOW_IMPL_H_ |
| 7 | 7 |
| 8 #include <atlbase.h> | 8 #include <atlbase.h> |
| 9 #include <atlapp.h> | 9 #include <atlapp.h> |
| 10 #include <atlmisc.h> | 10 #include <atlmisc.h> |
| 11 #include <atlcrack.h> | 11 #include <atlcrack.h> |
| 12 | 12 |
| 13 #include <string> | 13 #include <string> |
| 14 | 14 |
| 15 #include "base/gfx/native_widget_types.h" | 15 #include "app/gfx/native_widget_types.h" |
| 16 #include "base/gfx/rect.h" | 16 #include "base/gfx/rect.h" |
| 17 #include "base/logging.h" | 17 #include "base/logging.h" |
| 18 | 18 |
| 19 namespace base { | 19 namespace app { |
| 20 | 20 |
| 21 // An interface implemented by classes that use message maps. | 21 // An interface implemented by classes that use message maps. |
| 22 // ProcessWindowMessage is implemented by the BEGIN_MESSAGE_MAP_EX macro. | 22 // ProcessWindowMessage is implemented by the BEGIN_MESSAGE_MAP_EX macro. |
| 23 class MessageMapInterface { | 23 class MessageMapInterface { |
| 24 public: | 24 public: |
| 25 // Processes one message from the window's message queue. | 25 // Processes one message from the window's message queue. |
| 26 virtual BOOL ProcessWindowMessage(HWND window, | 26 virtual BOOL ProcessWindowMessage(HWND window, |
| 27 UINT message, | 27 UINT message, |
| 28 WPARAM w_param, | 28 WPARAM w_param, |
| 29 LPARAM l_param, | 29 LPARAM l_param, |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 | 98 |
| 99 // Style of the class to use. | 99 // Style of the class to use. |
| 100 UINT class_style_; | 100 UINT class_style_; |
| 101 | 101 |
| 102 // Our hwnd. | 102 // Our hwnd. |
| 103 HWND hwnd_; | 103 HWND hwnd_; |
| 104 | 104 |
| 105 DISALLOW_COPY_AND_ASSIGN(WindowImpl); | 105 DISALLOW_COPY_AND_ASSIGN(WindowImpl); |
| 106 }; | 106 }; |
| 107 | 107 |
| 108 } // namespace base | 108 } // namespace app |
| 109 | 109 |
| 110 #endif // BASE_WINDOW_IMPL_H_ | 110 #endif // APP_WIN_WINDOW_IMPL_H_ |
| OLD | NEW |