Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(673)

Side by Side Diff: ui/gfx/win/window_impl.h

Issue 146833020: Remove some uses of ATL in UI code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ui/gfx/win/msg_util.h ('k') | ui/views/win/hwnd_message_handler.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « ui/gfx/win/msg_util.h ('k') | ui/views/win/hwnd_message_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698