| 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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 virtual void ShowPageInfo(Profile* profile, | 95 virtual void ShowPageInfo(Profile* profile, |
| 96 const GURL& url, | 96 const GURL& url, |
| 97 const NavigationEntry::SSLStatus& ssl, | 97 const NavigationEntry::SSLStatus& ssl, |
| 98 bool show_history) OVERRIDE {} | 98 bool show_history) OVERRIDE {} |
| 99 virtual void Cut() OVERRIDE {} | 99 virtual void Cut() OVERRIDE {} |
| 100 virtual void Copy() OVERRIDE {} | 100 virtual void Copy() OVERRIDE {} |
| 101 virtual void Paste() OVERRIDE {} | 101 virtual void Paste() OVERRIDE {} |
| 102 virtual void ToggleTabStripMode() OVERRIDE {} | 102 virtual void ToggleTabStripMode() OVERRIDE {} |
| 103 #if defined(OS_MACOSX) | 103 #if defined(OS_MACOSX) |
| 104 virtual void OpenTabpose() OVERRIDE {} | 104 virtual void OpenTabpose() OVERRIDE {} |
| 105 virtual void SetPresentationMode(bool presentation_mode) OVERRIDE {} |
| 106 virtual bool InPresentationMode() OVERRIDE; |
| 105 #endif | 107 #endif |
| 106 | 108 |
| 107 virtual void PrepareForInstant() OVERRIDE {} | 109 virtual void PrepareForInstant() OVERRIDE {} |
| 108 virtual void ShowInstant(TabContentsWrapper* preview_contents) OVERRIDE {} | 110 virtual void ShowInstant(TabContentsWrapper* preview_contents) OVERRIDE {} |
| 109 virtual void HideInstant(bool instant_is_active) OVERRIDE {} | 111 virtual void HideInstant(bool instant_is_active) OVERRIDE {} |
| 110 virtual gfx::Rect GetInstantBounds() OVERRIDE; | 112 virtual gfx::Rect GetInstantBounds() OVERRIDE; |
| 111 virtual WindowOpenDisposition GetDispositionForPopupBounds( | 113 virtual WindowOpenDisposition GetDispositionForPopupBounds( |
| 112 const gfx::Rect& bounds) OVERRIDE; | 114 const gfx::Rect& bounds) OVERRIDE; |
| 113 | 115 |
| 114 #if defined(OS_CHROMEOS) | 116 #if defined(OS_CHROMEOS) |
| 115 virtual void ShowKeyboardOverlay(gfx::NativeWindow owning_window) OVERRIDE {} | 117 virtual void ShowKeyboardOverlay(gfx::NativeWindow owning_window) OVERRIDE {} |
| 116 #endif | 118 #endif |
| 117 | 119 |
| 118 protected: | 120 protected: |
| 119 virtual void DestroyBrowser() OVERRIDE {} | 121 virtual void DestroyBrowser() OVERRIDE {} |
| 120 | 122 |
| 121 private: | 123 private: |
| 122 TestLocationBar location_bar_; | 124 TestLocationBar location_bar_; |
| 123 | 125 |
| 124 DISALLOW_COPY_AND_ASSIGN(TestBrowserWindow); | 126 DISALLOW_COPY_AND_ASSIGN(TestBrowserWindow); |
| 125 }; | 127 }; |
| 126 | 128 |
| 127 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ | 129 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ |
| OLD | NEW |