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

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

Issue 8949035: Revert 115297 - Add overflow indicator count on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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.cc ('k') | chrome/browser/ui/panels/panel_manager.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_MANAGER_H_ 5 #ifndef CHROME_BROWSER_UI_PANELS_PANEL_MANAGER_H_
6 #define CHROME_BROWSER_UI_PANELS_PANEL_MANAGER_H_ 6 #define CHROME_BROWSER_UI_PANELS_PANEL_MANAGER_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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 44
45 // Drags the given panel. 45 // Drags the given panel.
46 void StartDragging(Panel* panel); 46 void StartDragging(Panel* panel);
47 void Drag(int delta_x); 47 void Drag(int delta_x);
48 void EndDragging(bool cancelled); 48 void EndDragging(bool cancelled);
49 49
50 // Invoked when a panel's expansion state changes. 50 // Invoked when a panel's expansion state changes.
51 void OnPanelExpansionStateChanged(Panel* panel, 51 void OnPanelExpansionStateChanged(Panel* panel,
52 Panel::ExpansionState old_state); 52 Panel::ExpansionState old_state);
53 53
54 // Invoked when a panel is starting/stopping drawing an attention.
55 void OnPanelAttentionStateChanged(Panel* panel);
56
57 // Invoked when the preferred window size of the given panel might need to 54 // Invoked when the preferred window size of the given panel might need to
58 // get changed. 55 // get changed.
59 void OnPreferredWindowSizeChanged( 56 void OnPreferredWindowSizeChanged(
60 Panel* panel, const gfx::Size& preferred_window_size); 57 Panel* panel, const gfx::Size& preferred_window_size);
61 58
62 // Returns true if we should bring up the titlebars, given the current mouse 59 // Returns true if we should bring up the titlebars, given the current mouse
63 // point. 60 // point.
64 bool ShouldBringUpTitlebars(int mouse_x, int mouse_y) const; 61 bool ShouldBringUpTitlebars(int mouse_x, int mouse_y) const;
65 62
66 // Brings up or down the titlebars for all minimized panels. 63 // Brings up or down the titlebars for all minimized panels.
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 // Timer used to track if the current active app is in full screen mode. 184 // Timer used to track if the current active app is in full screen mode.
188 base::RepeatingTimer<PanelManager> full_screen_mode_timer_; 185 base::RepeatingTimer<PanelManager> full_screen_mode_timer_;
189 186
190 // True if current active app is in full screen mode. 187 // True if current active app is in full screen mode.
191 bool is_full_screen_; 188 bool is_full_screen_;
192 189
193 DISALLOW_COPY_AND_ASSIGN(PanelManager); 190 DISALLOW_COPY_AND_ASSIGN(PanelManager);
194 }; 191 };
195 192
196 #endif // CHROME_BROWSER_UI_PANELS_PANEL_MANAGER_H_ 193 #endif // CHROME_BROWSER_UI_PANELS_PANEL_MANAGER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/panels/panel.cc ('k') | chrome/browser/ui/panels/panel_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698