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; |
| 10 |
9 TestBrowserWindow::TestBrowserWindow(Browser* browser) {} | 11 TestBrowserWindow::TestBrowserWindow(Browser* browser) {} |
10 | 12 |
11 TestBrowserWindow::~TestBrowserWindow() {} | 13 TestBrowserWindow::~TestBrowserWindow() {} |
12 | 14 |
13 bool TestBrowserWindow::IsActive() const { | 15 bool TestBrowserWindow::IsActive() const { |
14 return false; | 16 return false; |
15 } | 17 } |
16 | 18 |
17 bool TestBrowserWindow::IsAlwaysOnTop() const { | 19 bool TestBrowserWindow::IsAlwaysOnTop() const { |
18 return false; | 20 return false; |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 } | 117 } |
116 | 118 |
117 WindowOpenDisposition TestBrowserWindow::GetDispositionForPopupBounds( | 119 WindowOpenDisposition TestBrowserWindow::GetDispositionForPopupBounds( |
118 const gfx::Rect& bounds) { | 120 const gfx::Rect& bounds) { |
119 return NEW_POPUP; | 121 return NEW_POPUP; |
120 } | 122 } |
121 | 123 |
122 FindBar* TestBrowserWindow::CreateFindBar() { | 124 FindBar* TestBrowserWindow::CreateFindBar() { |
123 return NULL; | 125 return NULL; |
124 } | 126 } |
OLD | NEW |