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

Side by Side Diff: chrome/test/base/test_browser_window.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/views/frame/browser_view.cc ('k') | chrome/test/base/test_browser_window.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_TEST_BASE_TEST_BROWSER_WINDOW_H_ 5 #ifndef CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_
6 #define CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ 6 #define CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 24 matching lines...) Expand all
35 virtual void ToolbarSizeChanged(bool is_animating) OVERRIDE {} 35 virtual void ToolbarSizeChanged(bool is_animating) OVERRIDE {}
36 virtual void UpdateTitleBar() OVERRIDE {} 36 virtual void UpdateTitleBar() OVERRIDE {}
37 virtual void BookmarkBarStateChanged( 37 virtual void BookmarkBarStateChanged(
38 BookmarkBar::AnimateChangeType change_type) OVERRIDE {} 38 BookmarkBar::AnimateChangeType change_type) OVERRIDE {}
39 virtual void UpdateDevTools() OVERRIDE {} 39 virtual void UpdateDevTools() OVERRIDE {}
40 virtual void UpdateLoadingAnimations(bool should_animate) OVERRIDE {} 40 virtual void UpdateLoadingAnimations(bool should_animate) OVERRIDE {}
41 virtual void SetStarredState(bool is_starred) OVERRIDE {} 41 virtual void SetStarredState(bool is_starred) OVERRIDE {}
42 virtual gfx::Rect GetRestoredBounds() const OVERRIDE; 42 virtual gfx::Rect GetRestoredBounds() const OVERRIDE;
43 virtual gfx::Rect GetBounds() const OVERRIDE; 43 virtual gfx::Rect GetBounds() const OVERRIDE;
44 virtual bool IsMaximized() const OVERRIDE; 44 virtual bool IsMaximized() const OVERRIDE;
45 virtual bool IsMinimized() const OVERRIDE;
45 virtual void SetFullscreen(bool fullscreen) OVERRIDE {} 46 virtual void SetFullscreen(bool fullscreen) OVERRIDE {}
46 virtual bool IsFullscreen() const OVERRIDE; 47 virtual bool IsFullscreen() const OVERRIDE;
47 virtual bool IsFullscreenBubbleVisible() const OVERRIDE; 48 virtual bool IsFullscreenBubbleVisible() const OVERRIDE;
48 virtual LocationBar* GetLocationBar() const OVERRIDE; 49 virtual LocationBar* GetLocationBar() const OVERRIDE;
49 virtual void SetFocusToLocationBar(bool select_all) OVERRIDE {} 50 virtual void SetFocusToLocationBar(bool select_all) OVERRIDE {}
50 virtual void UpdateReloadStopState(bool is_loading, bool force) OVERRIDE {} 51 virtual void UpdateReloadStopState(bool is_loading, bool force) OVERRIDE {}
51 virtual void UpdateToolbar(TabContentsWrapper* contents, 52 virtual void UpdateToolbar(TabContentsWrapper* contents,
52 bool should_restore_state) OVERRIDE {} 53 bool should_restore_state) OVERRIDE {}
53 virtual void FocusToolbar() OVERRIDE {} 54 virtual void FocusToolbar() OVERRIDE {}
54 virtual void FocusAppMenu() OVERRIDE {} 55 virtual void FocusAppMenu() OVERRIDE {}
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 protected: 123 protected:
123 virtual void DestroyBrowser() OVERRIDE {} 124 virtual void DestroyBrowser() OVERRIDE {}
124 125
125 private: 126 private:
126 TestLocationBar location_bar_; 127 TestLocationBar location_bar_;
127 128
128 DISALLOW_COPY_AND_ASSIGN(TestBrowserWindow); 129 DISALLOW_COPY_AND_ASSIGN(TestBrowserWindow);
129 }; 130 };
130 131
131 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ 132 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/frame/browser_view.cc ('k') | chrome/test/base/test_browser_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698