| 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/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/macros.h" | 9 #include "base/macros.h" |
| 10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 139 web_modal::WebContentsModalDialogHost* GetWebContentsModalDialogHost() | 139 web_modal::WebContentsModalDialogHost* GetWebContentsModalDialogHost() |
| 140 override; | 140 override; |
| 141 void ShowAvatarBubbleFromAvatarButton( | 141 void ShowAvatarBubbleFromAvatarButton( |
| 142 AvatarBubbleMode mode, | 142 AvatarBubbleMode mode, |
| 143 const signin::ManageAccountsParams& manage_accounts_params, | 143 const signin::ManageAccountsParams& manage_accounts_params, |
| 144 signin_metrics::AccessPoint access_point) override {} | 144 signin_metrics::AccessPoint access_point) override {} |
| 145 void ShowModalSigninWindow( | 145 void ShowModalSigninWindow( |
| 146 AvatarBubbleMode mode, | 146 AvatarBubbleMode mode, |
| 147 signin_metrics::AccessPoint access_point) override {} | 147 signin_metrics::AccessPoint access_point) override {} |
| 148 void CloseModalSigninWindow() override {} | 148 void CloseModalSigninWindow() override {} |
| 149 void ShowModalSyncConfirmationWindow() override {} |
| 149 int GetRenderViewHeightInsetWithDetachedBookmarkBar() override; | 150 int GetRenderViewHeightInsetWithDetachedBookmarkBar() override; |
| 150 void ExecuteExtensionCommand(const extensions::Extension* extension, | 151 void ExecuteExtensionCommand(const extensions::Extension* extension, |
| 151 const extensions::Command& command) override; | 152 const extensions::Command& command) override; |
| 152 ExclusiveAccessContext* GetExclusiveAccessContext() override; | 153 ExclusiveAccessContext* GetExclusiveAccessContext() override; |
| 153 | 154 |
| 154 protected: | 155 protected: |
| 155 void DestroyBrowser() override {} | 156 void DestroyBrowser() override {} |
| 156 | 157 |
| 157 private: | 158 private: |
| 158 class TestLocationBar : public LocationBar { | 159 class TestLocationBar : public LocationBar { |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 210 | 211 |
| 211 namespace chrome { | 212 namespace chrome { |
| 212 | 213 |
| 213 // Helper that handle the lifetime of TestBrowserWindow instances. | 214 // Helper that handle the lifetime of TestBrowserWindow instances. |
| 214 scoped_ptr<Browser> CreateBrowserWithTestWindowForParams( | 215 scoped_ptr<Browser> CreateBrowserWithTestWindowForParams( |
| 215 Browser::CreateParams* params); | 216 Browser::CreateParams* params); |
| 216 | 217 |
| 217 } // namespace chrome | 218 } // namespace chrome |
| 218 | 219 |
| 219 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ | 220 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ |
| OLD | NEW |