| 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/macros.h" | 8 #include "base/macros.h" |
| 9 #include "chrome/browser/download/test_download_shelf.h" | 9 #include "chrome/browser/download/test_download_shelf.h" |
| 10 #include "chrome/browser/ui/browser.h" | 10 #include "chrome/browser/ui/browser.h" |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 const StartSyncCallback& start_sync_callback) override {} | 109 const StartSyncCallback& start_sync_callback) override {} |
| 110 #endif | 110 #endif |
| 111 bool IsDownloadShelfVisible() const override; | 111 bool IsDownloadShelfVisible() const override; |
| 112 DownloadShelf* GetDownloadShelf() override; | 112 DownloadShelf* GetDownloadShelf() override; |
| 113 void ConfirmBrowserCloseWithPendingDownloads( | 113 void ConfirmBrowserCloseWithPendingDownloads( |
| 114 int download_count, | 114 int download_count, |
| 115 Browser::DownloadClosePreventionType dialog_type, | 115 Browser::DownloadClosePreventionType dialog_type, |
| 116 bool app_modal, | 116 bool app_modal, |
| 117 const base::Callback<void(bool)>& callback) override {} | 117 const base::Callback<void(bool)>& callback) override {} |
| 118 void UserChangedTheme() override {} | 118 void UserChangedTheme() override {} |
| 119 void ShowWebsiteSettings( | 119 void ShowPageInfo( |
| 120 Profile* profile, | 120 Profile* profile, |
| 121 content::WebContents* web_contents, | 121 content::WebContents* web_contents, |
| 122 const GURL& virtual_url, | 122 const GURL& virtual_url, |
| 123 const security_state::SecurityInfo& security_info) override {} | 123 const security_state::SecurityInfo& security_info) override {} |
| 124 void CutCopyPaste(int command_id) override {} | 124 void CutCopyPaste(int command_id) override {} |
| 125 WindowOpenDisposition GetDispositionForPopupBounds( | 125 WindowOpenDisposition GetDispositionForPopupBounds( |
| 126 const gfx::Rect& bounds) override; | 126 const gfx::Rect& bounds) override; |
| 127 FindBar* CreateFindBar() override; | 127 FindBar* CreateFindBar() override; |
| 128 web_modal::WebContentsModalDialogHost* GetWebContentsModalDialogHost() | 128 web_modal::WebContentsModalDialogHost* GetWebContentsModalDialogHost() |
| 129 override; | 129 override; |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 198 | 198 |
| 199 namespace chrome { | 199 namespace chrome { |
| 200 | 200 |
| 201 // Helper that handle the lifetime of TestBrowserWindow instances. | 201 // Helper that handle the lifetime of TestBrowserWindow instances. |
| 202 std::unique_ptr<Browser> CreateBrowserWithTestWindowForParams( | 202 std::unique_ptr<Browser> CreateBrowserWithTestWindowForParams( |
| 203 Browser::CreateParams* params); | 203 Browser::CreateParams* params); |
| 204 | 204 |
| 205 } // namespace chrome | 205 } // namespace chrome |
| 206 | 206 |
| 207 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ | 207 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ |
| OLD | NEW |