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