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

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

Issue 8953040: Add overflow indicator count on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix trybot 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
54 // Invoked when the preferred window size of the given panel might need to 57 // Invoked when the preferred window size of the given panel might need to
55 // get changed. 58 // get changed.
56 void OnPreferredWindowSizeChanged( 59 void OnPreferredWindowSizeChanged(
57 Panel* panel, const gfx::Size& preferred_window_size); 60 Panel* panel, const gfx::Size& preferred_window_size);
58 61
59 // Returns true if we should bring up the titlebars, given the current mouse 62 // Returns true if we should bring up the titlebars, given the current mouse
60 // point. 63 // point.
61 bool ShouldBringUpTitlebars(int mouse_x, int mouse_y) const; 64 bool ShouldBringUpTitlebars(int mouse_x, int mouse_y) const;
62 65
63 // Brings up or down the titlebars for all minimized panels. 66 // Brings up or down the titlebars for all minimized panels.
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 // Timer used to track if the current active app is in full screen mode. 187 // Timer used to track if the current active app is in full screen mode.
185 base::RepeatingTimer<PanelManager> full_screen_mode_timer_; 188 base::RepeatingTimer<PanelManager> full_screen_mode_timer_;
186 189
187 // True if current active app is in full screen mode. 190 // True if current active app is in full screen mode.
188 bool is_full_screen_; 191 bool is_full_screen_;
189 192
190 DISALLOW_COPY_AND_ASSIGN(PanelManager); 193 DISALLOW_COPY_AND_ASSIGN(PanelManager);
191 }; 194 };
192 195
193 #endif // CHROME_BROWSER_UI_PANELS_PANEL_MANAGER_H_ 196 #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