| 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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 DownloadShelf* GetDownloadShelf() override; | 113 DownloadShelf* GetDownloadShelf() override; |
| 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& url, | 123 const GURL& virtual_url, |
| 124 const security_state::SecurityStateModel::SecurityInfo& security_info) | 124 const security_state::SecurityStateModel::SecurityInfo& security_info) |
| 125 override {} | 125 override {} |
| 126 void CutCopyPaste(int command_id) override {} | 126 void CutCopyPaste(int command_id) override {} |
| 127 WindowOpenDisposition GetDispositionForPopupBounds( | 127 WindowOpenDisposition GetDispositionForPopupBounds( |
| 128 const gfx::Rect& bounds) override; | 128 const gfx::Rect& bounds) override; |
| 129 FindBar* CreateFindBar() override; | 129 FindBar* CreateFindBar() override; |
| 130 web_modal::WebContentsModalDialogHost* GetWebContentsModalDialogHost() | 130 web_modal::WebContentsModalDialogHost* GetWebContentsModalDialogHost() |
| 131 override; | 131 override; |
| 132 void ShowAvatarBubbleFromAvatarButton( | 132 void ShowAvatarBubbleFromAvatarButton( |
| 133 AvatarBubbleMode mode, | 133 AvatarBubbleMode mode, |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 202 | 202 |
| 203 namespace chrome { | 203 namespace chrome { |
| 204 | 204 |
| 205 // Helper that handle the lifetime of TestBrowserWindow instances. | 205 // Helper that handle the lifetime of TestBrowserWindow instances. |
| 206 std::unique_ptr<Browser> CreateBrowserWithTestWindowForParams( | 206 std::unique_ptr<Browser> CreateBrowserWithTestWindowForParams( |
| 207 Browser::CreateParams* params); | 207 Browser::CreateParams* params); |
| 208 | 208 |
| 209 } // namespace chrome | 209 } // namespace chrome |
| 210 | 210 |
| 211 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ | 211 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ |
| OLD | NEW |