OLD | NEW |
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 Loading... |
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 Loading... |
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 } |
OLD | NEW |