| 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 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 142 | 142 |
| 143 virtual WindowOpenDisposition GetDispositionForPopupBounds( | 143 virtual WindowOpenDisposition GetDispositionForPopupBounds( |
| 144 const gfx::Rect& bounds) OVERRIDE; | 144 const gfx::Rect& bounds) OVERRIDE; |
| 145 virtual FindBar* CreateFindBar() OVERRIDE; | 145 virtual FindBar* CreateFindBar() OVERRIDE; |
| 146 virtual web_modal::WebContentsModalDialogHost* | 146 virtual web_modal::WebContentsModalDialogHost* |
| 147 GetWebContentsModalDialogHost() OVERRIDE; | 147 GetWebContentsModalDialogHost() OVERRIDE; |
| 148 virtual void ShowAvatarBubble(content::WebContents* web_contents, | 148 virtual void ShowAvatarBubble(content::WebContents* web_contents, |
| 149 const gfx::Rect& rect) OVERRIDE {} | 149 const gfx::Rect& rect) OVERRIDE {} |
| 150 virtual void ShowAvatarBubbleFromAvatarButton(AvatarBubbleMode mode, | 150 virtual void ShowAvatarBubbleFromAvatarButton(AvatarBubbleMode mode, |
| 151 const signin::ManageAccountsParams& manage_accounts_params) OVERRIDE {} | 151 const signin::ManageAccountsParams& manage_accounts_params) OVERRIDE {} |
| 152 virtual void ShowPasswordGenerationBubble( | |
| 153 const gfx::Rect& rect, | |
| 154 const autofill::PasswordForm& form, | |
| 155 autofill::PasswordGenerator* generator) OVERRIDE {} | |
| 156 virtual int GetRenderViewHeightInsetWithDetachedBookmarkBar() OVERRIDE; | 152 virtual int GetRenderViewHeightInsetWithDetachedBookmarkBar() OVERRIDE; |
| 157 virtual void ExecuteExtensionCommand( | 153 virtual void ExecuteExtensionCommand( |
| 158 const extensions::Extension* extension, | 154 const extensions::Extension* extension, |
| 159 const extensions::Command& command) OVERRIDE; | 155 const extensions::Command& command) OVERRIDE; |
| 160 | 156 |
| 161 protected: | 157 protected: |
| 162 virtual void DestroyBrowser() OVERRIDE {} | 158 virtual void DestroyBrowser() OVERRIDE {} |
| 163 | 159 |
| 164 private: | 160 private: |
| 165 class TestLocationBar : public LocationBar { | 161 class TestLocationBar : public LocationBar { |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 200 }; | 196 }; |
| 201 | 197 |
| 202 namespace chrome { | 198 namespace chrome { |
| 203 | 199 |
| 204 // Helper that handle the lifetime of TestBrowserWindow instances. | 200 // Helper that handle the lifetime of TestBrowserWindow instances. |
| 205 Browser* CreateBrowserWithTestWindowForParams(Browser::CreateParams* params); | 201 Browser* CreateBrowserWithTestWindowForParams(Browser::CreateParams* params); |
| 206 | 202 |
| 207 } // namespace chrome | 203 } // namespace chrome |
| 208 | 204 |
| 209 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ | 205 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ |
| OLD | NEW |