| 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_TEST_BROWSER_WINDOW_H_ | 5 #ifndef CHROME_TEST_TEST_BROWSER_WINDOW_H_ |
| 6 #define CHROME_TEST_TEST_BROWSER_WINDOW_H_ | 6 #define CHROME_TEST_TEST_BROWSER_WINDOW_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "chrome/browser/ui/browser_window.h" | 9 #include "chrome/browser/ui/browser_window.h" |
| 10 #include "chrome/test/test_location_bar.h" | 10 #include "chrome/test/test_location_bar.h" |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 bool show_history) {} | 94 bool show_history) {} |
| 95 virtual void Cut() {} | 95 virtual void Cut() {} |
| 96 virtual void Copy() {} | 96 virtual void Copy() {} |
| 97 virtual void Paste() {} | 97 virtual void Paste() {} |
| 98 virtual void ToggleTabStripMode() {} | 98 virtual void ToggleTabStripMode() {} |
| 99 virtual void OpenTabpose() {} | 99 virtual void OpenTabpose() {} |
| 100 virtual void PrepareForInstant() {} | 100 virtual void PrepareForInstant() {} |
| 101 virtual void ShowInstant(TabContentsWrapper* preview_contents) {} | 101 virtual void ShowInstant(TabContentsWrapper* preview_contents) {} |
| 102 virtual void HideInstant(bool instant_is_active) {} | 102 virtual void HideInstant(bool instant_is_active) {} |
| 103 virtual gfx::Rect GetInstantBounds(); | 103 virtual gfx::Rect GetInstantBounds(); |
| 104 virtual WindowOpenDisposition GetDispositionForPopupBounds( |
| 105 const gfx::Rect& bounds); |
| 104 | 106 |
| 105 #if defined(OS_CHROMEOS) | 107 #if defined(OS_CHROMEOS) |
| 106 virtual void ShowKeyboardOverlay(gfx::NativeWindow owning_window) {} | 108 virtual void ShowKeyboardOverlay(gfx::NativeWindow owning_window) {} |
| 107 #endif | 109 #endif |
| 108 | 110 |
| 109 protected: | 111 protected: |
| 110 virtual void DestroyBrowser() {} | 112 virtual void DestroyBrowser() {} |
| 111 | 113 |
| 112 private: | 114 private: |
| 113 TestLocationBar location_bar_; | 115 TestLocationBar location_bar_; |
| 114 | 116 |
| 115 DISALLOW_COPY_AND_ASSIGN(TestBrowserWindow); | 117 DISALLOW_COPY_AND_ASSIGN(TestBrowserWindow); |
| 116 }; | 118 }; |
| 117 | 119 |
| 118 #endif // CHROME_TEST_TEST_BROWSER_WINDOW_H_ | 120 #endif // CHROME_TEST_TEST_BROWSER_WINDOW_H_ |
| OLD | NEW |