Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(511)

Side by Side Diff: chrome/browser/ui/panels/panel_strip.h

Issue 8686012: Make panels not show on top when there is an app running in full screen mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Bug fix to switch normal vs status levels. Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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_mode_on);
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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 // Absolute minimum width and height for panels, including non-client area. 172 // Absolute minimum width and height for panels, including non-client area.
171 // Should only be big enough to accomodate a close button on the reasonably 173 // Should only be big enough to accomodate a close button on the reasonably
172 // recognisable titlebar. 174 // recognisable titlebar.
173 static const int kPanelMinWidth; 175 static const int kPanelMinWidth;
174 static const int kPanelMinHeight; 176 static const int kPanelMinHeight;
175 177
176 DISALLOW_COPY_AND_ASSIGN(PanelStrip); 178 DISALLOW_COPY_AND_ASSIGN(PanelStrip);
177 }; 179 };
178 180
179 #endif // CHROME_BROWSER_UI_PANELS_PANEL_STRIP_H_ 181 #endif // CHROME_BROWSER_UI_PANELS_PANEL_STRIP_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698