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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 void ConfirmBrowserCloseWithPendingDownloads( | 114 void ConfirmBrowserCloseWithPendingDownloads( |
115 int download_count, | 115 int download_count, |
116 Browser::DownloadClosePreventionType dialog_type, | 116 Browser::DownloadClosePreventionType dialog_type, |
117 bool app_modal, | 117 bool app_modal, |
118 const base::Callback<void(bool)>& callback) override {} | 118 const base::Callback<void(bool)>& callback) override {} |
119 void UserChangedTheme() override {} | 119 void UserChangedTheme() override {} |
120 void ShowWebsiteSettings( | 120 void ShowWebsiteSettings( |
121 Profile* profile, | 121 Profile* profile, |
122 content::WebContents* web_contents, | 122 content::WebContents* web_contents, |
123 const GURL& virtual_url, | 123 const GURL& virtual_url, |
124 const security_state::SecurityStateModel::SecurityInfo& security_info) | 124 const security_state::SecurityInfo& security_info) override {} |
125 override {} | |
126 void CutCopyPaste(int command_id) override {} | 125 void CutCopyPaste(int command_id) override {} |
127 WindowOpenDisposition GetDispositionForPopupBounds( | 126 WindowOpenDisposition GetDispositionForPopupBounds( |
128 const gfx::Rect& bounds) override; | 127 const gfx::Rect& bounds) override; |
129 FindBar* CreateFindBar() override; | 128 FindBar* CreateFindBar() override; |
130 web_modal::WebContentsModalDialogHost* GetWebContentsModalDialogHost() | 129 web_modal::WebContentsModalDialogHost* GetWebContentsModalDialogHost() |
131 override; | 130 override; |
132 void ShowAvatarBubbleFromAvatarButton( | 131 void ShowAvatarBubbleFromAvatarButton( |
133 AvatarBubbleMode mode, | 132 AvatarBubbleMode mode, |
134 const signin::ManageAccountsParams& manage_accounts_params, | 133 const signin::ManageAccountsParams& manage_accounts_params, |
135 signin_metrics::AccessPoint access_point) override {} | 134 signin_metrics::AccessPoint access_point) override {} |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
203 | 202 |
204 namespace chrome { | 203 namespace chrome { |
205 | 204 |
206 // Helper that handle the lifetime of TestBrowserWindow instances. | 205 // Helper that handle the lifetime of TestBrowserWindow instances. |
207 std::unique_ptr<Browser> CreateBrowserWithTestWindowForParams( | 206 std::unique_ptr<Browser> CreateBrowserWithTestWindowForParams( |
208 Browser::CreateParams* params); | 207 Browser::CreateParams* params); |
209 | 208 |
210 } // namespace chrome | 209 } // namespace chrome |
211 | 210 |
212 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ | 211 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ |
OLD | NEW |