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 <string> | 8 #include <string> |
9 | 9 |
10 #include "base/logging.h" | 10 #include "base/logging.h" |
| 11 #include "ui/gfx/geometry/rect.h" |
11 #include "ui/gfx/gfx_export.h" | 12 #include "ui/gfx/gfx_export.h" |
12 #include "ui/gfx/native_widget_types.h" | 13 #include "ui/gfx/native_widget_types.h" |
13 #include "ui/gfx/rect.h" | |
14 #include "ui/gfx/win/msg_util.h" | 14 #include "ui/gfx/win/msg_util.h" |
15 | 15 |
16 namespace gfx { | 16 namespace gfx { |
17 | 17 |
18 // An interface implemented by classes that use message maps. | 18 // An interface implemented by classes that use message maps. |
19 // ProcessWindowMessage is implemented by the BEGIN_MESSAGE_MAP_EX macro. | 19 // ProcessWindowMessage is implemented by the BEGIN_MESSAGE_MAP_EX macro. |
20 class MessageMapInterface { | 20 class MessageMapInterface { |
21 public: | 21 public: |
22 // Processes one message from the window's message queue. | 22 // Processes one message from the window's message queue. |
23 virtual BOOL ProcessWindowMessage(HWND window, | 23 virtual BOOL ProcessWindowMessage(HWND window, |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 bool got_create_; | 116 bool got_create_; |
117 bool got_valid_hwnd_; | 117 bool got_valid_hwnd_; |
118 bool* destroyed_; | 118 bool* destroyed_; |
119 | 119 |
120 DISALLOW_COPY_AND_ASSIGN(WindowImpl); | 120 DISALLOW_COPY_AND_ASSIGN(WindowImpl); |
121 }; | 121 }; |
122 | 122 |
123 } // namespace gfx | 123 } // namespace gfx |
124 | 124 |
125 #endif // UI_GFX_WIN_WINDOW_IMPL_H_ | 125 #endif // UI_GFX_WIN_WINDOW_IMPL_H_ |
OLD | NEW |