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