| 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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 void ConfirmBrowserCloseWithPendingDownloads( | 124 void ConfirmBrowserCloseWithPendingDownloads( |
| 125 int download_count, | 125 int download_count, |
| 126 Browser::DownloadClosePreventionType dialog_type, | 126 Browser::DownloadClosePreventionType dialog_type, |
| 127 bool app_modal, | 127 bool app_modal, |
| 128 const base::Callback<void(bool)>& callback) override {} | 128 const base::Callback<void(bool)>& callback) override {} |
| 129 void UserChangedTheme() override {} | 129 void UserChangedTheme() override {} |
| 130 void ShowWebsiteSettings( | 130 void ShowWebsiteSettings( |
| 131 Profile* profile, | 131 Profile* profile, |
| 132 content::WebContents* web_contents, | 132 content::WebContents* web_contents, |
| 133 const GURL& url, | 133 const GURL& url, |
| 134 const SecurityStateModel::SecurityInfo& security_info) override {} | 134 const security_state::SecurityStateModel::SecurityInfo& security_info) |
| 135 override {} |
| 135 void CutCopyPaste(int command_id) override {} | 136 void CutCopyPaste(int command_id) override {} |
| 136 WindowOpenDisposition GetDispositionForPopupBounds( | 137 WindowOpenDisposition GetDispositionForPopupBounds( |
| 137 const gfx::Rect& bounds) override; | 138 const gfx::Rect& bounds) override; |
| 138 FindBar* CreateFindBar() override; | 139 FindBar* CreateFindBar() override; |
| 139 web_modal::WebContentsModalDialogHost* GetWebContentsModalDialogHost() | 140 web_modal::WebContentsModalDialogHost* GetWebContentsModalDialogHost() |
| 140 override; | 141 override; |
| 141 void ShowAvatarBubbleFromAvatarButton( | 142 void ShowAvatarBubbleFromAvatarButton( |
| 142 AvatarBubbleMode mode, | 143 AvatarBubbleMode mode, |
| 143 const signin::ManageAccountsParams& manage_accounts_params, | 144 const signin::ManageAccountsParams& manage_accounts_params, |
| 144 signin_metrics::AccessPoint access_point) override {} | 145 signin_metrics::AccessPoint access_point) override {} |
| (...skipping 65 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 |