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

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: Merge/Resolve. 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
« no previous file with comments | « chrome/browser/ui/panels/panel_manager.cc ('k') | chrome/browser/ui/panels/panel_strip.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
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
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_
OLDNEW
« no previous file with comments | « chrome/browser/ui/panels/panel_manager.cc ('k') | chrome/browser/ui/panels/panel_strip.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698