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 "base/macros.h" |
11 #include "ui/gfx/geometry/rect.h" | 12 #include "ui/gfx/geometry/rect.h" |
12 #include "ui/gfx/gfx_export.h" | 13 #include "ui/gfx/gfx_export.h" |
13 #include "ui/gfx/native_widget_types.h" | 14 #include "ui/gfx/native_widget_types.h" |
14 #include "ui/gfx/win/msg_util.h" | 15 #include "ui/gfx/win/msg_util.h" |
15 | 16 |
16 namespace gfx { | 17 namespace gfx { |
17 | 18 |
18 // An interface implemented by classes that use message maps. | 19 // An interface implemented by classes that use message maps. |
19 // ProcessWindowMessage is implemented by the BEGIN_MESSAGE_MAP_EX macro. | 20 // ProcessWindowMessage is implemented by the BEGIN_MESSAGE_MAP_EX macro. |
20 class MessageMapInterface { | 21 class MessageMapInterface { |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 bool got_create_; | 117 bool got_create_; |
117 bool got_valid_hwnd_; | 118 bool got_valid_hwnd_; |
118 bool* destroyed_; | 119 bool* destroyed_; |
119 | 120 |
120 DISALLOW_COPY_AND_ASSIGN(WindowImpl); | 121 DISALLOW_COPY_AND_ASSIGN(WindowImpl); |
121 }; | 122 }; |
122 | 123 |
123 } // namespace gfx | 124 } // namespace gfx |
124 | 125 |
125 #endif // UI_GFX_WIN_WINDOW_IMPL_H_ | 126 #endif // UI_GFX_WIN_WINDOW_IMPL_H_ |
OLD | NEW |