OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 using content::NativeWebKeyboardEvent; | 9 using content::NativeWebKeyboardEvent; |
10 | 10 |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 } | 89 } |
90 | 90 |
91 gfx::Rect TestBrowserWindow::GetRootWindowResizerRect() const { | 91 gfx::Rect TestBrowserWindow::GetRootWindowResizerRect() const { |
92 return gfx::Rect(); | 92 return gfx::Rect(); |
93 } | 93 } |
94 | 94 |
95 bool TestBrowserWindow::IsPanel() const { | 95 bool TestBrowserWindow::IsPanel() const { |
96 return false; | 96 return false; |
97 } | 97 } |
98 | 98 |
99 void TestBrowserWindow::ShowAboutChromeDialog() { | |
100 return; | |
101 } | |
102 | |
103 bool TestBrowserWindow::IsDownloadShelfVisible() const { | 99 bool TestBrowserWindow::IsDownloadShelfVisible() const { |
104 return false; | 100 return false; |
105 } | 101 } |
106 | 102 |
107 DownloadShelf* TestBrowserWindow::GetDownloadShelf() { | 103 DownloadShelf* TestBrowserWindow::GetDownloadShelf() { |
108 return NULL; | 104 return NULL; |
109 } | 105 } |
110 | 106 |
111 int TestBrowserWindow::GetExtraRenderViewHeight() const { | 107 int TestBrowserWindow::GetExtraRenderViewHeight() const { |
112 return 0; | 108 return 0; |
(...skipping 10 matching lines...) Expand all Loading... |
123 } | 119 } |
124 | 120 |
125 WindowOpenDisposition TestBrowserWindow::GetDispositionForPopupBounds( | 121 WindowOpenDisposition TestBrowserWindow::GetDispositionForPopupBounds( |
126 const gfx::Rect& bounds) { | 122 const gfx::Rect& bounds) { |
127 return NEW_POPUP; | 123 return NEW_POPUP; |
128 } | 124 } |
129 | 125 |
130 FindBar* TestBrowserWindow::CreateFindBar() { | 126 FindBar* TestBrowserWindow::CreateFindBar() { |
131 return NULL; | 127 return NULL; |
132 } | 128 } |
OLD | NEW |