| 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 #ifndef CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ | 5 #ifndef CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ |
| 6 #define CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ | 6 #define CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 #if defined(OS_MACOSX) | 103 #if defined(OS_MACOSX) |
| 104 virtual void OpenTabpose() OVERRIDE {} | 104 virtual void OpenTabpose() OVERRIDE {} |
| 105 #endif | 105 #endif |
| 106 | 106 |
| 107 virtual void PrepareForInstant() OVERRIDE {} | 107 virtual void PrepareForInstant() OVERRIDE {} |
| 108 virtual void ShowInstant(TabContentsWrapper* preview_contents) OVERRIDE {} | 108 virtual void ShowInstant(TabContentsWrapper* preview_contents) OVERRIDE {} |
| 109 virtual void HideInstant(bool instant_is_active) OVERRIDE {} | 109 virtual void HideInstant(bool instant_is_active) OVERRIDE {} |
| 110 virtual gfx::Rect GetInstantBounds() OVERRIDE; | 110 virtual gfx::Rect GetInstantBounds() OVERRIDE; |
| 111 virtual WindowOpenDisposition GetDispositionForPopupBounds( | 111 virtual WindowOpenDisposition GetDispositionForPopupBounds( |
| 112 const gfx::Rect& bounds) OVERRIDE; | 112 const gfx::Rect& bounds) OVERRIDE; |
| 113 virtual FindBar* CreateFindBar() OVERRIDE; |
| 113 | 114 |
| 114 #if defined(OS_CHROMEOS) | 115 #if defined(OS_CHROMEOS) |
| 115 virtual void ShowKeyboardOverlay(gfx::NativeWindow owning_window) OVERRIDE {} | 116 virtual void ShowKeyboardOverlay(gfx::NativeWindow owning_window) OVERRIDE {} |
| 116 #endif | 117 #endif |
| 117 | 118 |
| 118 protected: | 119 protected: |
| 119 virtual void DestroyBrowser() OVERRIDE {} | 120 virtual void DestroyBrowser() OVERRIDE {} |
| 120 | 121 |
| 121 private: | 122 private: |
| 122 TestLocationBar location_bar_; | 123 TestLocationBar location_bar_; |
| 123 | 124 |
| 124 DISALLOW_COPY_AND_ASSIGN(TestBrowserWindow); | 125 DISALLOW_COPY_AND_ASSIGN(TestBrowserWindow); |
| 125 }; | 126 }; |
| 126 | 127 |
| 127 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ | 128 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ |
| OLD | NEW |