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

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

Issue 7621061: Restoring a session should restore window minimization state (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressing Mark's comments. Created 9 years, 4 months 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/gtk/browser_window_gtk.cc ('k') | chrome/browser/ui/panels/panel.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_H_ 5 #ifndef CHROME_BROWSER_UI_PANELS_PANEL_H_
6 #define CHROME_BROWSER_UI_PANELS_PANEL_H_ 6 #define CHROME_BROWSER_UI_PANELS_PANEL_H_
7 #pragma once 7 #pragma once
8 8
9 #include "chrome/browser/ui/browser_window.h" 9 #include "chrome/browser/ui/browser_window.h"
10 10
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 virtual void ToolbarSizeChanged(bool is_animating) OVERRIDE; 61 virtual void ToolbarSizeChanged(bool is_animating) OVERRIDE;
62 virtual void UpdateTitleBar() OVERRIDE; 62 virtual void UpdateTitleBar() OVERRIDE;
63 virtual void BookmarkBarStateChanged( 63 virtual void BookmarkBarStateChanged(
64 BookmarkBar::AnimateChangeType change_type) OVERRIDE; 64 BookmarkBar::AnimateChangeType change_type) OVERRIDE;
65 virtual void UpdateDevTools() OVERRIDE; 65 virtual void UpdateDevTools() OVERRIDE;
66 virtual void UpdateLoadingAnimations(bool should_animate) OVERRIDE; 66 virtual void UpdateLoadingAnimations(bool should_animate) OVERRIDE;
67 virtual void SetStarredState(bool is_starred) OVERRIDE; 67 virtual void SetStarredState(bool is_starred) OVERRIDE;
68 virtual gfx::Rect GetRestoredBounds() const OVERRIDE; 68 virtual gfx::Rect GetRestoredBounds() const OVERRIDE;
69 virtual gfx::Rect GetBounds() const OVERRIDE; 69 virtual gfx::Rect GetBounds() const OVERRIDE;
70 virtual bool IsMaximized() const OVERRIDE; 70 virtual bool IsMaximized() const OVERRIDE;
71 virtual bool IsMinimized() const OVERRIDE;
71 virtual void SetFullscreen(bool fullscreen) OVERRIDE; 72 virtual void SetFullscreen(bool fullscreen) OVERRIDE;
72 virtual bool IsFullscreen() const OVERRIDE; 73 virtual bool IsFullscreen() const OVERRIDE;
73 virtual bool IsFullscreenBubbleVisible() const OVERRIDE; 74 virtual bool IsFullscreenBubbleVisible() const OVERRIDE;
74 virtual LocationBar* GetLocationBar() const OVERRIDE; 75 virtual LocationBar* GetLocationBar() const OVERRIDE;
75 virtual void SetFocusToLocationBar(bool select_all) OVERRIDE; 76 virtual void SetFocusToLocationBar(bool select_all) OVERRIDE;
76 virtual void UpdateReloadStopState(bool is_loading, bool force) OVERRIDE; 77 virtual void UpdateReloadStopState(bool is_loading, bool force) OVERRIDE;
77 virtual void UpdateToolbar(TabContentsWrapper* contents, 78 virtual void UpdateToolbar(TabContentsWrapper* contents,
78 bool should_restore_state) OVERRIDE; 79 bool should_restore_state) OVERRIDE;
79 virtual void FocusToolbar() OVERRIDE; 80 virtual void FocusToolbar() OVERRIDE;
80 virtual void FocusAppMenu() OVERRIDE; 81 virtual void FocusAppMenu() OVERRIDE;
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 // Platform specifc implementation for panels. It'd be one of 182 // Platform specifc implementation for panels. It'd be one of
182 // PanelBrowserWindowGtk/PanelBrowserView/PanelBrowserWindowCocoa. 183 // PanelBrowserWindowGtk/PanelBrowserView/PanelBrowserWindowCocoa.
183 NativePanel* native_panel_; // Weak, owns us. 184 NativePanel* native_panel_; // Weak, owns us.
184 185
185 ExpansionState expansion_state_; 186 ExpansionState expansion_state_;
186 187
187 DISALLOW_COPY_AND_ASSIGN(Panel); 188 DISALLOW_COPY_AND_ASSIGN(Panel);
188 }; 189 };
189 190
190 #endif // CHROME_BROWSER_UI_PANELS_PANEL_H_ 191 #endif // CHROME_BROWSER_UI_PANELS_PANEL_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/browser_window_gtk.cc ('k') | chrome/browser/ui/panels/panel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698