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

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

Issue 23769011: Move a bunch of windows stuff from ui/base/win to ui/gfx/win (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Moar bustage. Created 7 years, 3 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/singleton_hwnd.cc ('k') | ui/gfx/win/window_impl.cc » ('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_BASE_WIN_WINDOW_IMPL_H_ 5 #ifndef UI_GFX_WIN_WINDOW_IMPL_H_
6 #define UI_BASE_WIN_WINDOW_IMPL_H_ 6 #define UI_GFX_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/logging.h" 15 #include "base/logging.h"
16 #include "ui/base/ui_export.h" 16 #include "ui/gfx/gfx_export.h"
17 #include "ui/gfx/native_widget_types.h" 17 #include "ui/gfx/native_widget_types.h"
18 #include "ui/gfx/rect.h" 18 #include "ui/gfx/rect.h"
19 19
20 namespace ui { 20 namespace gfx {
21 21
22 // An interface implemented by classes that use message maps. 22 // An interface implemented by classes that use message maps.
23 // ProcessWindowMessage is implemented by the BEGIN_MESSAGE_MAP_EX macro. 23 // ProcessWindowMessage is implemented by the BEGIN_MESSAGE_MAP_EX macro.
24 class MessageMapInterface { 24 class MessageMapInterface {
25 public: 25 public:
26 // Processes one message from the window's message queue. 26 // Processes one message from the window's message queue.
27 virtual BOOL ProcessWindowMessage(HWND window, 27 virtual BOOL ProcessWindowMessage(HWND window,
28 UINT message, 28 UINT message,
29 WPARAM w_param, 29 WPARAM w_param,
30 LPARAM l_param, 30 LPARAM l_param,
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 111
112 // For debugging. 112 // For debugging.
113 // TODO(sky): nuke this when get crash data. 113 // TODO(sky): nuke this when get crash data.
114 bool got_create_; 114 bool got_create_;
115 bool got_valid_hwnd_; 115 bool got_valid_hwnd_;
116 bool* destroyed_; 116 bool* destroyed_;
117 117
118 DISALLOW_COPY_AND_ASSIGN(WindowImpl); 118 DISALLOW_COPY_AND_ASSIGN(WindowImpl);
119 }; 119 };
120 120
121 } // namespace ui 121 } // namespace gfx
122 122
123 #endif // UI_BASE_WIN_WINDOW_IMPL_H_ 123 #endif // UI_GFX_WIN_WINDOW_IMPL_H_
OLDNEW
« no previous file with comments | « ui/gfx/win/singleton_hwnd.cc ('k') | ui/gfx/win/window_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698