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 #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 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 virtual bool IsFullscreenWithoutChrome() OVERRIDE; | 138 virtual bool IsFullscreenWithoutChrome() OVERRIDE; |
139 #endif | 139 #endif |
140 | 140 |
141 virtual WindowOpenDisposition GetDispositionForPopupBounds( | 141 virtual WindowOpenDisposition GetDispositionForPopupBounds( |
142 const gfx::Rect& bounds) OVERRIDE; | 142 const gfx::Rect& bounds) OVERRIDE; |
143 virtual FindBar* CreateFindBar() OVERRIDE; | 143 virtual FindBar* CreateFindBar() OVERRIDE; |
144 virtual web_modal::WebContentsModalDialogHost* | 144 virtual web_modal::WebContentsModalDialogHost* |
145 GetWebContentsModalDialogHost() OVERRIDE; | 145 GetWebContentsModalDialogHost() OVERRIDE; |
146 virtual void ShowAvatarBubble(content::WebContents* web_contents, | 146 virtual void ShowAvatarBubble(content::WebContents* web_contents, |
147 const gfx::Rect& rect) OVERRIDE {} | 147 const gfx::Rect& rect) OVERRIDE {} |
148 virtual void ShowAvatarBubbleFromAvatarButton(AvatarBubbleMode mode) | 148 virtual void ShowAvatarBubbleFromAvatarButton(AvatarBubbleMode mode, |
149 OVERRIDE {} | 149 signin::GAIAServiceType service_type) OVERRIDE {} |
150 virtual void ShowPasswordGenerationBubble( | 150 virtual void ShowPasswordGenerationBubble( |
151 const gfx::Rect& rect, | 151 const gfx::Rect& rect, |
152 const autofill::PasswordForm& form, | 152 const autofill::PasswordForm& form, |
153 autofill::PasswordGenerator* generator) OVERRIDE {} | 153 autofill::PasswordGenerator* generator) OVERRIDE {} |
154 virtual int GetRenderViewHeightInsetWithDetachedBookmarkBar() OVERRIDE; | 154 virtual int GetRenderViewHeightInsetWithDetachedBookmarkBar() OVERRIDE; |
155 virtual void ExecuteExtensionCommand( | 155 virtual void ExecuteExtensionCommand( |
156 const extensions::Extension* extension, | 156 const extensions::Extension* extension, |
157 const extensions::Command& command) OVERRIDE; | 157 const extensions::Command& command) OVERRIDE; |
158 virtual void ShowPageActionPopup( | 158 virtual void ShowPageActionPopup( |
159 const extensions::Extension* extension) OVERRIDE; | 159 const extensions::Extension* extension) OVERRIDE; |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
200 }; | 200 }; |
201 | 201 |
202 namespace chrome { | 202 namespace chrome { |
203 | 203 |
204 // Helper that handle the lifetime of TestBrowserWindow instances. | 204 // Helper that handle the lifetime of TestBrowserWindow instances. |
205 Browser* CreateBrowserWithTestWindowForParams(Browser::CreateParams* params); | 205 Browser* CreateBrowserWithTestWindowForParams(Browser::CreateParams* params); |
206 | 206 |
207 } // namespace chrome | 207 } // namespace chrome |
208 | 208 |
209 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ | 209 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ |
OLD | NEW |