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

Side by Side Diff: chrome/test/base/test_browser_window.cc

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/test/base/test_browser_window.h ('k') | ui/base/ui_base_types.h » ('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 #include "chrome/test/base/test_browser_window.h" 5 #include "chrome/test/base/test_browser_window.h"
6 6
7 #include "ui/gfx/rect.h" 7 #include "ui/gfx/rect.h"
8 8
9 TestBrowserWindow::TestBrowserWindow(Browser* browser) {} 9 TestBrowserWindow::TestBrowserWindow(Browser* browser) {}
10 10
(...skipping 20 matching lines...) Expand all
31 } 31 }
32 32
33 gfx::Rect TestBrowserWindow::GetBounds() const { 33 gfx::Rect TestBrowserWindow::GetBounds() const {
34 return gfx::Rect(); 34 return gfx::Rect();
35 } 35 }
36 36
37 bool TestBrowserWindow::IsMaximized() const { 37 bool TestBrowserWindow::IsMaximized() const {
38 return false; 38 return false;
39 } 39 }
40 40
41 bool TestBrowserWindow::IsMinimized() const {
42 return false;
43 }
44
41 bool TestBrowserWindow::IsFullscreen() const { 45 bool TestBrowserWindow::IsFullscreen() const {
42 return false; 46 return false;
43 } 47 }
44 48
45 bool TestBrowserWindow::IsFullscreenBubbleVisible() const { 49 bool TestBrowserWindow::IsFullscreenBubbleVisible() const {
46 return false; 50 return false;
47 } 51 }
48 52
49 LocationBar* TestBrowserWindow::GetLocationBar() const { 53 LocationBar* TestBrowserWindow::GetLocationBar() const {
50 return const_cast<TestLocationBar*>(&location_bar_); 54 return const_cast<TestLocationBar*>(&location_bar_);
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 } 109 }
106 110
107 WindowOpenDisposition TestBrowserWindow::GetDispositionForPopupBounds( 111 WindowOpenDisposition TestBrowserWindow::GetDispositionForPopupBounds(
108 const gfx::Rect& bounds) { 112 const gfx::Rect& bounds) {
109 return NEW_POPUP; 113 return NEW_POPUP;
110 } 114 }
111 115
112 FindBar* TestBrowserWindow::CreateFindBar() { 116 FindBar* TestBrowserWindow::CreateFindBar() {
113 return NULL; 117 return NULL;
114 } 118 }
OLDNEW
« no previous file with comments | « chrome/test/base/test_browser_window.h ('k') | ui/base/ui_base_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698