| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_STRIP_H_ | 5 #ifndef CHROME_BROWSER_UI_PANELS_PANEL_STRIP_H_ |
| 6 #define CHROME_BROWSER_UI_PANELS_PANEL_STRIP_H_ | 6 #define CHROME_BROWSER_UI_PANELS_PANEL_STRIP_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <vector> | 9 #include <vector> |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 int GetMaxPanelHeight() const; | 75 int GetMaxPanelHeight() const; |
| 76 int StartingRightPosition() const; | 76 int StartingRightPosition() const; |
| 77 | 77 |
| 78 // Overridden from PanelMouseWatcherObserver: | 78 // Overridden from PanelMouseWatcherObserver: |
| 79 virtual void OnMouseMove(const gfx::Point& mouse_position) OVERRIDE; | 79 virtual void OnMouseMove(const gfx::Point& mouse_position) OVERRIDE; |
| 80 | 80 |
| 81 void OnAutoHidingDesktopBarVisibilityChanged( | 81 void OnAutoHidingDesktopBarVisibilityChanged( |
| 82 AutoHidingDesktopBar::Alignment alignment, | 82 AutoHidingDesktopBar::Alignment alignment, |
| 83 AutoHidingDesktopBar::Visibility visibility); | 83 AutoHidingDesktopBar::Visibility visibility); |
| 84 | 84 |
| 85 void OnFullScreenModeChanged(bool is_full_screen); |
| 86 |
| 85 #ifdef UNIT_TEST | 87 #ifdef UNIT_TEST |
| 86 static int horizontal_spacing() { return kPanelsHorizontalSpacing; } | 88 static int horizontal_spacing() { return kPanelsHorizontalSpacing; } |
| 87 | 89 |
| 88 void remove_delays_for_testing() { | 90 void remove_delays_for_testing() { |
| 89 remove_delays_for_testing_ = true; | 91 remove_delays_for_testing_ = true; |
| 90 } | 92 } |
| 91 | 93 |
| 92 int minimized_panel_count() { | 94 int minimized_panel_count() { |
| 93 return minimized_panel_count_; | 95 return minimized_panel_count_; |
| 94 } | 96 } |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 183 // Absolute minimum width and height for panels, including non-client area. | 185 // Absolute minimum width and height for panels, including non-client area. |
| 184 // Should only be big enough to accomodate a close button on the reasonably | 186 // Should only be big enough to accomodate a close button on the reasonably |
| 185 // recognisable titlebar. | 187 // recognisable titlebar. |
| 186 static const int kPanelMinWidth; | 188 static const int kPanelMinWidth; |
| 187 static const int kPanelMinHeight; | 189 static const int kPanelMinHeight; |
| 188 | 190 |
| 189 DISALLOW_COPY_AND_ASSIGN(PanelStrip); | 191 DISALLOW_COPY_AND_ASSIGN(PanelStrip); |
| 190 }; | 192 }; |
| 191 | 193 |
| 192 #endif // CHROME_BROWSER_UI_PANELS_PANEL_STRIP_H_ | 194 #endif // CHROME_BROWSER_UI_PANELS_PANEL_STRIP_H_ |
| OLD | NEW |