| 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 |
| 11 TestBrowserWindow::TestBrowserWindow(Browser* browser) {} | 11 TestBrowserWindow::TestBrowserWindow(Browser* browser) {} |
| 12 | 12 |
| 13 TestBrowserWindow::~TestBrowserWindow() {} | 13 TestBrowserWindow::~TestBrowserWindow() {} |
| 14 | 14 |
| 15 bool TestBrowserWindow::IsActive() const { | 15 bool TestBrowserWindow::IsActive() const { |
| 16 return false; | 16 return false; |
| 17 } | 17 } |
| 18 | 18 |
| 19 bool TestBrowserWindow::IsAlwaysOnTop() const { | 19 bool TestBrowserWindow::IsAlwaysOnTop() const { |
| 20 return false; | 20 return false; |
| 21 } | 21 } |
| 22 | 22 |
| 23 gfx::NativeWindow TestBrowserWindow::GetNativeHandle() { | 23 gfx::NativeWindow TestBrowserWindow::GetNativeWindow() { |
| 24 return NULL; | 24 return NULL; |
| 25 } | 25 } |
| 26 | 26 |
| 27 BrowserWindowTesting* TestBrowserWindow::GetBrowserWindowTesting() { | 27 BrowserWindowTesting* TestBrowserWindow::GetBrowserWindowTesting() { |
| 28 return NULL; | 28 return NULL; |
| 29 } | 29 } |
| 30 | 30 |
| 31 StatusBubble* TestBrowserWindow::GetStatusBubble() { | 31 StatusBubble* TestBrowserWindow::GetStatusBubble() { |
| 32 return NULL; | 32 return NULL; |
| 33 } | 33 } |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 } | 117 } |
| 118 | 118 |
| 119 WindowOpenDisposition TestBrowserWindow::GetDispositionForPopupBounds( | 119 WindowOpenDisposition TestBrowserWindow::GetDispositionForPopupBounds( |
| 120 const gfx::Rect& bounds) { | 120 const gfx::Rect& bounds) { |
| 121 return NEW_POPUP; | 121 return NEW_POPUP; |
| 122 } | 122 } |
| 123 | 123 |
| 124 FindBar* TestBrowserWindow::CreateFindBar() { | 124 FindBar* TestBrowserWindow::CreateFindBar() { |
| 125 return NULL; | 125 return NULL; |
| 126 } | 126 } |
| OLD | NEW |