| 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_DOCKED_PANEL_COLLECTION_H_ | 5 #ifndef CHROME_BROWSER_UI_PANELS_DOCKED_PANEL_COLLECTION_H_ |
| 6 #define CHROME_BROWSER_UI_PANELS_DOCKED_PANEL_COLLECTION_H_ | 6 #define CHROME_BROWSER_UI_PANELS_DOCKED_PANEL_COLLECTION_H_ |
| 7 | 7 |
| 8 #include <list> | 8 #include <list> |
| 9 #include <set> | 9 #include <set> |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 11 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
| 12 #include "chrome/browser/ui/panels/display_settings_provider.h" | 12 #include "chrome/browser/ui/panels/display_settings_provider.h" |
| 13 #include "chrome/browser/ui/panels/panel.h" | 13 #include "chrome/browser/ui/panels/panel.h" |
| 14 #include "chrome/browser/ui/panels/panel_collection.h" | 14 #include "chrome/browser/ui/panels/panel_collection.h" |
| 15 #include "chrome/browser/ui/panels/panel_mouse_watcher_observer.h" | 15 #include "chrome/browser/ui/panels/panel_mouse_watcher_observer.h" |
| 16 #include "ui/gfx/rect.h" | 16 #include "ui/gfx/geometry/rect.h" |
| 17 | 17 |
| 18 class PanelManager; | 18 class PanelManager; |
| 19 | 19 |
| 20 // This class manages a group of panels that could be docked to the bottom of | 20 // This class manages a group of panels that could be docked to the bottom of |
| 21 // screen. | 21 // screen. |
| 22 class DockedPanelCollection : | 22 class DockedPanelCollection : |
| 23 public PanelCollection, | 23 public PanelCollection, |
| 24 public PanelMouseWatcherObserver, | 24 public PanelMouseWatcherObserver, |
| 25 public DisplaySettingsProvider::DesktopBarObserver { | 25 public DisplaySettingsProvider::DesktopBarObserver { |
| 26 public: | 26 public: |
| (...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 187 // Owned by MessageLoop after posting. | 187 // Owned by MessageLoop after posting. |
| 188 base::WeakPtrFactory<DockedPanelCollection> titlebar_action_factory_; | 188 base::WeakPtrFactory<DockedPanelCollection> titlebar_action_factory_; |
| 189 | 189 |
| 190 // Owned by MessageLoop after posting. | 190 // Owned by MessageLoop after posting. |
| 191 base::WeakPtrFactory<DockedPanelCollection> refresh_action_factory_; | 191 base::WeakPtrFactory<DockedPanelCollection> refresh_action_factory_; |
| 192 | 192 |
| 193 DISALLOW_COPY_AND_ASSIGN(DockedPanelCollection); | 193 DISALLOW_COPY_AND_ASSIGN(DockedPanelCollection); |
| 194 }; | 194 }; |
| 195 | 195 |
| 196 #endif // CHROME_BROWSER_UI_PANELS_DOCKED_PANEL_COLLECTION_H_ | 196 #endif // CHROME_BROWSER_UI_PANELS_DOCKED_PANEL_COLLECTION_H_ |
| OLD | NEW |