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

Side by Side Diff: chrome/browser/ui/views/frame/browser_view.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
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_VIEWS_FRAME_BROWSER_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 virtual void ToolbarSizeChanged(bool is_animating) OVERRIDE; 263 virtual void ToolbarSizeChanged(bool is_animating) OVERRIDE;
264 virtual void UpdateTitleBar() OVERRIDE; 264 virtual void UpdateTitleBar() OVERRIDE;
265 virtual void BookmarkBarStateChanged( 265 virtual void BookmarkBarStateChanged(
266 BookmarkBar::AnimateChangeType change_type) OVERRIDE; 266 BookmarkBar::AnimateChangeType change_type) OVERRIDE;
267 virtual void UpdateDevTools() OVERRIDE; 267 virtual void UpdateDevTools() OVERRIDE;
268 virtual void UpdateLoadingAnimations(bool should_animate) OVERRIDE; 268 virtual void UpdateLoadingAnimations(bool should_animate) OVERRIDE;
269 virtual void SetStarredState(bool is_starred) OVERRIDE; 269 virtual void SetStarredState(bool is_starred) OVERRIDE;
270 virtual gfx::Rect GetRestoredBounds() const OVERRIDE; 270 virtual gfx::Rect GetRestoredBounds() const OVERRIDE;
271 virtual gfx::Rect GetBounds() const OVERRIDE; 271 virtual gfx::Rect GetBounds() const OVERRIDE;
272 virtual bool IsMaximized() const OVERRIDE; 272 virtual bool IsMaximized() const OVERRIDE;
273 virtual bool IsMinimized() const OVERRIDE;
273 virtual void SetFullscreen(bool fullscreen) OVERRIDE; 274 virtual void SetFullscreen(bool fullscreen) OVERRIDE;
274 virtual bool IsFullscreen() const OVERRIDE; 275 virtual bool IsFullscreen() const OVERRIDE;
275 virtual LocationBar* GetLocationBar() const OVERRIDE; 276 virtual LocationBar* GetLocationBar() const OVERRIDE;
276 virtual void SetFocusToLocationBar(bool select_all) OVERRIDE; 277 virtual void SetFocusToLocationBar(bool select_all) OVERRIDE;
277 virtual void UpdateReloadStopState(bool is_loading, bool force) OVERRIDE; 278 virtual void UpdateReloadStopState(bool is_loading, bool force) OVERRIDE;
278 virtual void UpdateToolbar(TabContentsWrapper* contents, 279 virtual void UpdateToolbar(TabContentsWrapper* contents,
279 bool should_restore_state) OVERRIDE; 280 bool should_restore_state) OVERRIDE;
280 virtual void FocusToolbar() OVERRIDE; 281 virtual void FocusToolbar() OVERRIDE;
281 virtual void FocusAppMenu() OVERRIDE; 282 virtual void FocusAppMenu() OVERRIDE;
282 virtual void FocusBookmarksToolbar() OVERRIDE; 283 virtual void FocusBookmarksToolbar() OVERRIDE;
(...skipping 446 matching lines...) Expand 10 before | Expand all | Expand 10 after
729 730
730 NotificationRegistrar registrar_; 731 NotificationRegistrar registrar_;
731 732
732 // Used to measure the loading spinner animation rate. 733 // Used to measure the loading spinner animation rate.
733 base::TimeTicks last_animation_time_; 734 base::TimeTicks last_animation_time_;
734 735
735 DISALLOW_COPY_AND_ASSIGN(BrowserView); 736 DISALLOW_COPY_AND_ASSIGN(BrowserView);
736 }; 737 };
737 738
738 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ 739 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/frame/browser_frame.cc ('k') | chrome/browser/ui/views/frame/browser_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698