| 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_OVERFLOW_PANEL_STRIP_H_ | 5 #ifndef CHROME_BROWSER_UI_PANELS_OVERFLOW_PANEL_STRIP_H_ |
| 6 #define CHROME_BROWSER_UI_PANELS_OVERFLOW_PANEL_STRIP_H_ | 6 #define CHROME_BROWSER_UI_PANELS_OVERFLOW_PANEL_STRIP_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <vector> | 9 #include <vector> |
| 10 #include "chrome/browser/ui/panels/panel.h" | 10 #include "chrome/browser/ui/panels/panel.h" |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 // PanelStrip OVERRIDES: | 32 // PanelStrip OVERRIDES: |
| 33 virtual void SetDisplayArea(const gfx::Rect& display_area) OVERRIDE; | 33 virtual void SetDisplayArea(const gfx::Rect& display_area) OVERRIDE; |
| 34 virtual void RefreshLayout() OVERRIDE; | 34 virtual void RefreshLayout() OVERRIDE; |
| 35 virtual void AddPanel(Panel* panel, | 35 virtual void AddPanel(Panel* panel, |
| 36 PositioningMask positioning_mask) OVERRIDE; | 36 PositioningMask positioning_mask) OVERRIDE; |
| 37 virtual void RemovePanel(Panel* panel) OVERRIDE; | 37 virtual void RemovePanel(Panel* panel) OVERRIDE; |
| 38 virtual void CloseAll() OVERRIDE; | 38 virtual void CloseAll() OVERRIDE; |
| 39 virtual void ResizePanelWindow( | 39 virtual void ResizePanelWindow( |
| 40 Panel* panel, | 40 Panel* panel, |
| 41 const gfx::Size& preferred_window_size) OVERRIDE; | 41 const gfx::Size& preferred_window_size) OVERRIDE; |
| 42 virtual bool CanResizePanel(const Panel* panel) const OVERRIDE; | 42 virtual panel::Resizability CanResizePanel(const Panel* panel) const OVERRIDE; |
| 43 virtual void OnPanelResizedByMouse(Panel* panel, | 43 virtual void OnPanelResizedByMouse(Panel* panel, |
| 44 const gfx::Rect& new_bounds) OVERRIDE; | 44 const gfx::Rect& new_bounds) OVERRIDE; |
| 45 virtual void OnPanelAttentionStateChanged(Panel* panel) OVERRIDE; | 45 virtual void OnPanelAttentionStateChanged(Panel* panel) OVERRIDE; |
| 46 virtual void OnPanelTitlebarClicked(Panel* panel, | 46 virtual void OnPanelTitlebarClicked(Panel* panel, |
| 47 panel::ClickModifier modifier) OVERRIDE; | 47 panel::ClickModifier modifier) OVERRIDE; |
| 48 virtual void ActivatePanel(Panel* panel) OVERRIDE; | 48 virtual void ActivatePanel(Panel* panel) OVERRIDE; |
| 49 virtual void MinimizePanel(Panel* panel) OVERRIDE; | 49 virtual void MinimizePanel(Panel* panel) OVERRIDE; |
| 50 virtual void RestorePanel(Panel* panel) OVERRIDE; | 50 virtual void RestorePanel(Panel* panel) OVERRIDE; |
| 51 virtual bool IsPanelMinimized(const Panel* panel) const OVERRIDE; | 51 virtual bool IsPanelMinimized(const Panel* panel) const OVERRIDE; |
| 52 virtual bool CanShowPanelAsActive(const Panel* panel) const OVERRIDE; | 52 virtual bool CanShowPanelAsActive(const Panel* panel) const OVERRIDE; |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 156 int overflow_hover_animator_start_width_; | 156 int overflow_hover_animator_start_width_; |
| 157 int overflow_hover_animator_end_width_; | 157 int overflow_hover_animator_end_width_; |
| 158 | 158 |
| 159 // Invalid panel index. | 159 // Invalid panel index. |
| 160 static const size_t kInvalidPanelIndex = static_cast<size_t>(-1); | 160 static const size_t kInvalidPanelIndex = static_cast<size_t>(-1); |
| 161 | 161 |
| 162 DISALLOW_COPY_AND_ASSIGN(OverflowPanelStrip); | 162 DISALLOW_COPY_AND_ASSIGN(OverflowPanelStrip); |
| 163 }; | 163 }; |
| 164 | 164 |
| 165 #endif // CHROME_BROWSER_UI_PANELS_OVERFLOW_PANEL_STRIP_H_ | 165 #endif // CHROME_BROWSER_UI_PANELS_OVERFLOW_PANEL_STRIP_H_ |
| OLD | NEW |