| 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 } | 69 } |
| 70 | 70 |
| 71 bool TestBrowserWindow::IsTabStripEditable() const { | 71 bool TestBrowserWindow::IsTabStripEditable() const { |
| 72 return false; | 72 return false; |
| 73 } | 73 } |
| 74 | 74 |
| 75 bool TestBrowserWindow::IsToolbarVisible() const { | 75 bool TestBrowserWindow::IsToolbarVisible() const { |
| 76 return false; | 76 return false; |
| 77 } | 77 } |
| 78 | 78 |
| 79 gfx::Rect TestBrowserWindow::GetRootWindowResizerRect() const { |
| 80 return gfx::Rect(); |
| 81 } |
| 82 |
| 79 bool TestBrowserWindow::IsPanel() const { | 83 bool TestBrowserWindow::IsPanel() const { |
| 80 return false; | 84 return false; |
| 81 } | 85 } |
| 82 | 86 |
| 83 void TestBrowserWindow::ShowAboutChromeDialog() { | 87 void TestBrowserWindow::ShowAboutChromeDialog() { |
| 84 return; | 88 return; |
| 85 } | 89 } |
| 86 | 90 |
| 87 bool TestBrowserWindow::IsDownloadShelfVisible() const { | 91 bool TestBrowserWindow::IsDownloadShelfVisible() const { |
| 88 return false; | 92 return false; |
| (...skipping 18 matching lines...) Expand all Loading... |
| 107 } | 111 } |
| 108 | 112 |
| 109 WindowOpenDisposition TestBrowserWindow::GetDispositionForPopupBounds( | 113 WindowOpenDisposition TestBrowserWindow::GetDispositionForPopupBounds( |
| 110 const gfx::Rect& bounds) { | 114 const gfx::Rect& bounds) { |
| 111 return NEW_POPUP; | 115 return NEW_POPUP; |
| 112 } | 116 } |
| 113 | 117 |
| 114 FindBar* TestBrowserWindow::CreateFindBar() { | 118 FindBar* TestBrowserWindow::CreateFindBar() { |
| 115 return NULL; | 119 return NULL; |
| 116 } | 120 } |
| OLD | NEW |