| 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_DETACHED_PANEL_STRIP_H_ | 5 #ifndef CHROME_BROWSER_UI_PANELS_DETACHED_PANEL_STRIP_H_ |
| 6 #define CHROME_BROWSER_UI_PANELS_DETACHED_PANEL_STRIP_H_ | 6 #define CHROME_BROWSER_UI_PANELS_DETACHED_PANEL_STRIP_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <set> | 9 #include <set> |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 26 matching lines...) Expand all Loading... |
| 37 virtual panel::Resizability GetPanelResizability( | 37 virtual panel::Resizability GetPanelResizability( |
| 38 const Panel* panel) const OVERRIDE; | 38 const Panel* panel) const OVERRIDE; |
| 39 virtual void OnPanelResizedByMouse(Panel* panel, | 39 virtual void OnPanelResizedByMouse(Panel* panel, |
| 40 const gfx::Rect& new_bounds) OVERRIDE; | 40 const gfx::Rect& new_bounds) OVERRIDE; |
| 41 virtual void OnPanelAttentionStateChanged(Panel* panel) OVERRIDE; | 41 virtual void OnPanelAttentionStateChanged(Panel* panel) OVERRIDE; |
| 42 virtual void OnPanelTitlebarClicked(Panel* panel, | 42 virtual void OnPanelTitlebarClicked(Panel* panel, |
| 43 panel::ClickModifier modifier) OVERRIDE; | 43 panel::ClickModifier modifier) OVERRIDE; |
| 44 virtual void ActivatePanel(Panel* panel) OVERRIDE; | 44 virtual void ActivatePanel(Panel* panel) OVERRIDE; |
| 45 virtual void MinimizePanel(Panel* panel) OVERRIDE; | 45 virtual void MinimizePanel(Panel* panel) OVERRIDE; |
| 46 virtual void RestorePanel(Panel* panel) OVERRIDE; | 46 virtual void RestorePanel(Panel* panel) OVERRIDE; |
| 47 virtual void MinimizeAll() OVERRIDE; |
| 48 virtual void RestoreAll() OVERRIDE; |
| 47 virtual bool CanMinimizePanel(const Panel* panel) const OVERRIDE; | 49 virtual bool CanMinimizePanel(const Panel* panel) const OVERRIDE; |
| 48 virtual bool IsPanelMinimized(const Panel* panel) const OVERRIDE; | 50 virtual bool IsPanelMinimized(const Panel* panel) const OVERRIDE; |
| 49 virtual void SavePanelPlacement(Panel* panel) OVERRIDE; | 51 virtual void SavePanelPlacement(Panel* panel) OVERRIDE; |
| 50 virtual void RestorePanelToSavedPlacement() OVERRIDE; | 52 virtual void RestorePanelToSavedPlacement() OVERRIDE; |
| 51 virtual void DiscardSavedPanelPlacement() OVERRIDE; | 53 virtual void DiscardSavedPanelPlacement() OVERRIDE; |
| 52 virtual void StartDraggingPanelWithinStrip(Panel* panel) OVERRIDE; | 54 virtual void StartDraggingPanelWithinStrip(Panel* panel) OVERRIDE; |
| 53 virtual void DragPanelWithinStrip(Panel* panel, | 55 virtual void DragPanelWithinStrip(Panel* panel, |
| 54 int delta_x, | 56 int delta_x, |
| 55 int delta_y) OVERRIDE; | 57 int delta_y) OVERRIDE; |
| 56 virtual void EndDraggingPanelWithinStrip(Panel* panel, | 58 virtual void EndDraggingPanelWithinStrip(Panel* panel, |
| (...skipping 23 matching lines...) Expand all Loading... |
| 80 // Collection of all panels. | 82 // Collection of all panels. |
| 81 Panels panels_; | 83 Panels panels_; |
| 82 | 84 |
| 83 // Used to save the placement information for a panel. | 85 // Used to save the placement information for a panel. |
| 84 PanelPlacement saved_panel_placement_; | 86 PanelPlacement saved_panel_placement_; |
| 85 | 87 |
| 86 DISALLOW_COPY_AND_ASSIGN(DetachedPanelStrip); | 88 DISALLOW_COPY_AND_ASSIGN(DetachedPanelStrip); |
| 87 }; | 89 }; |
| 88 | 90 |
| 89 #endif // CHROME_BROWSER_UI_PANELS_DETACHED_PANEL_STRIP_H_ | 91 #endif // CHROME_BROWSER_UI_PANELS_DETACHED_PANEL_STRIP_H_ |
| OLD | NEW |