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_STACKED_PANEL_COLLECTION_H_ | 5 #ifndef CHROME_BROWSER_UI_PANELS_STACKED_PANEL_COLLECTION_H_ |
6 #define CHROME_BROWSER_UI_PANELS_STACKED_PANEL_COLLECTION_H_ | 6 #define CHROME_BROWSER_UI_PANELS_STACKED_PANEL_COLLECTION_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 "chrome/browser/ui/panels/native_panel_stack_window.h" | 11 #include "chrome/browser/ui/panels/native_panel_stack_window.h" |
12 #include "chrome/browser/ui/panels/panel_collection.h" | 12 #include "chrome/browser/ui/panels/panel_collection.h" |
13 #include "chrome/browser/ui/panels/panel_constants.h" | 13 #include "chrome/browser/ui/panels/panel_constants.h" |
14 #include "ui/gfx/rect.h" | 14 #include "ui/gfx/geometry/rect.h" |
15 | 15 |
16 class PanelManager; | 16 class PanelManager; |
17 namespace gfx { | 17 namespace gfx { |
18 class Vector2d; | 18 class Vector2d; |
19 } | 19 } |
20 | 20 |
21 class StackedPanelCollection : public PanelCollection, | 21 class StackedPanelCollection : public PanelCollection, |
22 public NativePanelStackWindowDelegate { | 22 public NativePanelStackWindowDelegate { |
23 public: | 23 public: |
24 typedef std::list<Panel*> Panels; | 24 typedef std::list<Panel*> Panels; |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 | 170 |
171 // Used to save the placement information for a panel. | 171 // Used to save the placement information for a panel. |
172 PanelPlacement saved_panel_placement_; | 172 PanelPlacement saved_panel_placement_; |
173 | 173 |
174 bool minimizing_all_; // True while minimizing all panels. | 174 bool minimizing_all_; // True while minimizing all panels. |
175 | 175 |
176 DISALLOW_COPY_AND_ASSIGN(StackedPanelCollection); | 176 DISALLOW_COPY_AND_ASSIGN(StackedPanelCollection); |
177 }; | 177 }; |
178 | 178 |
179 #endif // CHROME_BROWSER_UI_PANELS_STACKED_PANEL_COLLECTION_H_ | 179 #endif // CHROME_BROWSER_UI_PANELS_STACKED_PANEL_COLLECTION_H_ |
OLD | NEW |