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

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

Issue 23498059: Remove last dependencies on ui/base from ui/gfx (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: last rebase Created 7 years, 2 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/hwnd_util.h ('k') | ui/ui.gyp » ('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> 8 #include <atlbase.h>
9 #include <atlapp.h> 9 #include <atlapp.h>
10 #include <atlmisc.h> 10 #include <atlmisc.h>
(...skipping 22 matching lines...) Expand all
33 }; 33 };
34 34
35 /////////////////////////////////////////////////////////////////////////////// 35 ///////////////////////////////////////////////////////////////////////////////
36 // 36 //
37 // WindowImpl 37 // WindowImpl
38 // A convenience class that encapsulates the details of creating and 38 // A convenience class that encapsulates the details of creating and
39 // destroying a HWND. This class also hosts the windows procedure used by all 39 // destroying a HWND. This class also hosts the windows procedure used by all
40 // Windows. 40 // Windows.
41 // 41 //
42 /////////////////////////////////////////////////////////////////////////////// 42 ///////////////////////////////////////////////////////////////////////////////
43 class UI_EXPORT WindowImpl : public MessageMapInterface { 43 class GFX_EXPORT WindowImpl : public MessageMapInterface {
44 public: 44 public:
45 WindowImpl(); 45 WindowImpl();
46 virtual ~WindowImpl(); 46 virtual ~WindowImpl();
47 47
48 // Initializes the Window with a parent and an initial desired size. 48 // Initializes the Window with a parent and an initial desired size.
49 void Init(HWND parent, const gfx::Rect& bounds); 49 void Init(HWND parent, const gfx::Rect& bounds);
50 50
51 // Returns the default window icon to use for windows of this type. 51 // Returns the default window icon to use for windows of this type.
52 virtual HICON GetDefaultWindowIcon() const; 52 virtual HICON GetDefaultWindowIcon() const;
53 53
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 gfx 121 } // namespace gfx
122 122
123 #endif // UI_GFX_WIN_WINDOW_IMPL_H_ 123 #endif // UI_GFX_WIN_WINDOW_IMPL_H_
OLDNEW
« no previous file with comments | « ui/gfx/win/hwnd_util.h ('k') | ui/ui.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698