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_PANELS_PANEL_MANAGER_H_ | 5 #ifndef CHROME_BROWSER_UI_PANELS_PANEL_MANAGER_H_ |
6 #define CHROME_BROWSER_UI_PANELS_PANEL_MANAGER_H_ | 6 #define CHROME_BROWSER_UI_PANELS_PANEL_MANAGER_H_ |
7 | 7 |
8 #include <list> | 8 #include <list> |
9 #include <vector> | 9 #include <vector> |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "base/lazy_instance.h" | 11 #include "base/lazy_instance.h" |
12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
13 #include "chrome/browser/ui/panels/display_settings_provider.h" | 13 #include "chrome/browser/ui/panels/display_settings_provider.h" |
14 #include "chrome/browser/ui/panels/panel.h" | 14 #include "chrome/browser/ui/panels/panel.h" |
15 #include "chrome/browser/ui/panels/panel_collection.h" | 15 #include "chrome/browser/ui/panels/panel_collection.h" |
16 #include "chrome/browser/ui/panels/panel_constants.h" | 16 #include "chrome/browser/ui/panels/panel_constants.h" |
17 #include "ui/gfx/rect.h" | 17 #include "ui/gfx/geometry/rect.h" |
18 | 18 |
19 class DetachedPanelCollection; | 19 class DetachedPanelCollection; |
20 class DockedPanelCollection; | 20 class DockedPanelCollection; |
21 class GURL; | 21 class GURL; |
22 class PanelDragController; | 22 class PanelDragController; |
23 class PanelResizeController; | 23 class PanelResizeController; |
24 class PanelMouseWatcher; | 24 class PanelMouseWatcher; |
25 class StackedPanelCollection; | 25 class StackedPanelCollection; |
26 | 26 |
27 // This class manages a set of panels. | 27 // This class manages a set of panels. |
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
234 | 234 |
235 // Whether or not bounds will be updated when the preferred content size is | 235 // Whether or not bounds will be updated when the preferred content size is |
236 // changed. The testing code could set this flag to false so that other tests | 236 // changed. The testing code could set this flag to false so that other tests |
237 // will not be affected. | 237 // will not be affected. |
238 bool auto_sizing_enabled_; | 238 bool auto_sizing_enabled_; |
239 | 239 |
240 DISALLOW_COPY_AND_ASSIGN(PanelManager); | 240 DISALLOW_COPY_AND_ASSIGN(PanelManager); |
241 }; | 241 }; |
242 | 242 |
243 #endif // CHROME_BROWSER_UI_PANELS_PANEL_MANAGER_H_ | 243 #endif // CHROME_BROWSER_UI_PANELS_PANEL_MANAGER_H_ |
OLD | NEW |