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

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

Issue 6254011: Move UI-relevant Windows files to ui/base. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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/base/win/hwnd_util.cc ('k') | ui/base/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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 APP_WIN_WINDOW_IMPL_H_ 5 #ifndef UI_BASE_WIN_WINDOW_IMPL_H_
6 #define APP_WIN_WINDOW_IMPL_H_ 6 #define UI_BASE_WIN_WINDOW_IMPL_H_
7 #pragma once 7 #pragma once
8 8
9 #include <atlbase.h> 9 #include <atlbase.h>
10 #include <atlapp.h> 10 #include <atlapp.h>
11 #include <atlmisc.h> 11 #include <atlmisc.h>
12 #include <atlcrack.h> 12 #include <atlcrack.h>
13 13
14 #include <string> 14 #include <string>
15 15
16 #include "base/logging.h" 16 #include "base/logging.h"
17 #include "gfx/native_widget_types.h" 17 #include "gfx/native_widget_types.h"
18 #include "gfx/rect.h" 18 #include "gfx/rect.h"
19 19
20 namespace app { 20 namespace ui {
21 namespace win {
22 21
23 // An interface implemented by classes that use message maps. 22 // An interface implemented by classes that use message maps.
24 // ProcessWindowMessage is implemented by the BEGIN_MESSAGE_MAP_EX macro. 23 // ProcessWindowMessage is implemented by the BEGIN_MESSAGE_MAP_EX macro.
25 class MessageMapInterface { 24 class MessageMapInterface {
26 public: 25 public:
27 // Processes one message from the window's message queue. 26 // Processes one message from the window's message queue.
28 virtual BOOL ProcessWindowMessage(HWND window, 27 virtual BOOL ProcessWindowMessage(HWND window,
29 UINT message, 28 UINT message,
30 WPARAM w_param, 29 WPARAM w_param,
31 LPARAM l_param, 30 LPARAM l_param,
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 102
104 // Style of the class to use. 103 // Style of the class to use.
105 UINT class_style_; 104 UINT class_style_;
106 105
107 // Our hwnd. 106 // Our hwnd.
108 HWND hwnd_; 107 HWND hwnd_;
109 108
110 DISALLOW_COPY_AND_ASSIGN(WindowImpl); 109 DISALLOW_COPY_AND_ASSIGN(WindowImpl);
111 }; 110 };
112 111
113 } // namespace win 112 } // namespace ui
114 } // namespace app
115 113
116 #endif // APP_WIN_WINDOW_IMPL_H_ 114 #endif // UI_BASE_WIN_WINDOW_IMPL_H_
OLDNEW
« no previous file with comments | « ui/base/win/hwnd_util.cc ('k') | ui/base/win/window_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698