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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 } | 81 } |
82 | 82 |
83 DownloadShelf* TestBrowserWindow::GetDownloadShelf() { | 83 DownloadShelf* TestBrowserWindow::GetDownloadShelf() { |
84 return NULL; | 84 return NULL; |
85 } | 85 } |
86 | 86 |
87 int TestBrowserWindow::GetExtraRenderViewHeight() const { | 87 int TestBrowserWindow::GetExtraRenderViewHeight() const { |
88 return 0; | 88 return 0; |
89 } | 89 } |
90 | 90 |
| 91 #if defined(OS_MACOSX) |
| 92 bool TestBrowserWindow::InPresentationMode() { |
| 93 return false; |
| 94 } |
| 95 #endif |
| 96 |
91 gfx::Rect TestBrowserWindow::GetInstantBounds() { | 97 gfx::Rect TestBrowserWindow::GetInstantBounds() { |
92 return gfx::Rect(); | 98 return gfx::Rect(); |
93 } | 99 } |
94 | 100 |
95 WindowOpenDisposition TestBrowserWindow::GetDispositionForPopupBounds( | 101 WindowOpenDisposition TestBrowserWindow::GetDispositionForPopupBounds( |
96 const gfx::Rect& bounds) { | 102 const gfx::Rect& bounds) { |
97 return NEW_POPUP; | 103 return NEW_POPUP; |
98 } | 104 } |
OLD | NEW |