| 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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 } | 77 } |
| 78 | 78 |
| 79 bool TestBrowserWindow::IsDownloadShelfVisible() const { | 79 bool TestBrowserWindow::IsDownloadShelfVisible() const { |
| 80 return false; | 80 return false; |
| 81 } | 81 } |
| 82 | 82 |
| 83 DownloadShelf* TestBrowserWindow::GetDownloadShelf() { | 83 DownloadShelf* TestBrowserWindow::GetDownloadShelf() { |
| 84 return NULL; | 84 return NULL; |
| 85 } | 85 } |
| 86 | 86 |
| 87 gfx::NativeWindow TestBrowserWindow::ShowHTMLDialog( |
| 88 HtmlDialogUIDelegate* delegate, |
| 89 gfx::NativeWindow parent_window) { |
| 90 return NULL; |
| 91 } |
| 92 |
| 87 int TestBrowserWindow::GetExtraRenderViewHeight() const { | 93 int TestBrowserWindow::GetExtraRenderViewHeight() const { |
| 88 return 0; | 94 return 0; |
| 89 } | 95 } |
| 90 | 96 |
| 91 #if defined(OS_MACOSX) | 97 #if defined(OS_MACOSX) |
| 92 bool TestBrowserWindow::InPresentationMode() { | 98 bool TestBrowserWindow::InPresentationMode() { |
| 93 return false; | 99 return false; |
| 94 } | 100 } |
| 95 #endif | 101 #endif |
| 96 | 102 |
| 97 gfx::Rect TestBrowserWindow::GetInstantBounds() { | 103 gfx::Rect TestBrowserWindow::GetInstantBounds() { |
| 98 return gfx::Rect(); | 104 return gfx::Rect(); |
| 99 } | 105 } |
| 100 | 106 |
| 101 WindowOpenDisposition TestBrowserWindow::GetDispositionForPopupBounds( | 107 WindowOpenDisposition TestBrowserWindow::GetDispositionForPopupBounds( |
| 102 const gfx::Rect& bounds) { | 108 const gfx::Rect& bounds) { |
| 103 return NEW_POPUP; | 109 return NEW_POPUP; |
| 104 } | 110 } |
| 105 | 111 |
| 106 FindBar* TestBrowserWindow::CreateFindBar() { | 112 FindBar* TestBrowserWindow::CreateFindBar() { |
| 107 return NULL; | 113 return NULL; |
| 108 } | 114 } |
| OLD | NEW |