| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 UI_GFX_WIN_WINDOW_IMPL_H_ | 5 #ifndef UI_GFX_WIN_WINDOW_IMPL_H_ |
| 6 #define UI_GFX_WIN_WINDOW_IMPL_H_ | 6 #define UI_GFX_WIN_WINDOW_IMPL_H_ |
| 7 | 7 |
| 8 #include <atlbase.h> | |
| 9 #include <atlapp.h> | |
| 10 #include <atlmisc.h> | |
| 11 #include <atlcrack.h> | |
| 12 | |
| 13 #include <string> | 8 #include <string> |
| 14 | 9 |
| 15 #include "base/logging.h" | 10 #include "base/logging.h" |
| 16 #include "ui/gfx/gfx_export.h" | 11 #include "ui/gfx/gfx_export.h" |
| 17 #include "ui/gfx/native_widget_types.h" | 12 #include "ui/gfx/native_widget_types.h" |
| 18 #include "ui/gfx/rect.h" | 13 #include "ui/gfx/rect.h" |
| 14 #include "ui/gfx/win/msg_util.h" |
| 19 | 15 |
| 20 namespace gfx { | 16 namespace gfx { |
| 21 | 17 |
| 22 // An interface implemented by classes that use message maps. | 18 // An interface implemented by classes that use message maps. |
| 23 // ProcessWindowMessage is implemented by the BEGIN_MESSAGE_MAP_EX macro. | 19 // ProcessWindowMessage is implemented by the BEGIN_MESSAGE_MAP_EX macro. |
| 24 class MessageMapInterface { | 20 class MessageMapInterface { |
| 25 public: | 21 public: |
| 26 // Processes one message from the window's message queue. | 22 // Processes one message from the window's message queue. |
| 27 virtual BOOL ProcessWindowMessage(HWND window, | 23 virtual BOOL ProcessWindowMessage(HWND window, |
| 28 UINT message, | 24 UINT message, |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 bool got_create_; | 110 bool got_create_; |
| 115 bool got_valid_hwnd_; | 111 bool got_valid_hwnd_; |
| 116 bool* destroyed_; | 112 bool* destroyed_; |
| 117 | 113 |
| 118 DISALLOW_COPY_AND_ASSIGN(WindowImpl); | 114 DISALLOW_COPY_AND_ASSIGN(WindowImpl); |
| 119 }; | 115 }; |
| 120 | 116 |
| 121 } // namespace gfx | 117 } // namespace gfx |
| 122 | 118 |
| 123 #endif // UI_GFX_WIN_WINDOW_IMPL_H_ | 119 #endif // UI_GFX_WIN_WINDOW_IMPL_H_ |
| OLD | NEW |