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 CHROME_BROWSER_UI_WINDOW_SIZER_WINDOW_SIZER_H_ | 5 #ifndef CHROME_BROWSER_UI_WINDOW_SIZER_WINDOW_SIZER_H_ |
6 #define CHROME_BROWSER_UI_WINDOW_SIZER_WINDOW_SIZER_H_ | 6 #define CHROME_BROWSER_UI_WINDOW_SIZER_WINDOW_SIZER_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "chrome/browser/ui/host_desktop.h" | |
11 #include "ui/base/ui_base_types.h" | 10 #include "ui/base/ui_base_types.h" |
12 #include "ui/gfx/geometry/rect.h" | 11 #include "ui/gfx/geometry/rect.h" |
| 12 #include "ui/gfx/host_desktop_type.h" |
13 | 13 |
14 class Browser; | 14 class Browser; |
15 | 15 |
16 namespace gfx { | 16 namespace gfx { |
17 class Display; | 17 class Display; |
18 class Screen; | 18 class Screen; |
19 } | 19 } |
20 | 20 |
21 /////////////////////////////////////////////////////////////////////////////// | 21 /////////////////////////////////////////////////////////////////////////////// |
22 // WindowSizer | 22 // WindowSizer |
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
186 scoped_ptr<TargetDisplayProvider> target_display_provider_; | 186 scoped_ptr<TargetDisplayProvider> target_display_provider_; |
187 gfx::Screen* screen_; // not owned. | 187 gfx::Screen* screen_; // not owned. |
188 | 188 |
189 // Note that this browser handle might be NULL. | 189 // Note that this browser handle might be NULL. |
190 const Browser* browser_; | 190 const Browser* browser_; |
191 | 191 |
192 DISALLOW_COPY_AND_ASSIGN(WindowSizer); | 192 DISALLOW_COPY_AND_ASSIGN(WindowSizer); |
193 }; | 193 }; |
194 | 194 |
195 #endif // CHROME_BROWSER_UI_WINDOW_SIZER_WINDOW_SIZER_H_ | 195 #endif // CHROME_BROWSER_UI_WINDOW_SIZER_WINDOW_SIZER_H_ |
OLD | NEW |