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