| 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/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 Profile* profile) OVERRIDE {} | 95 Profile* profile) OVERRIDE {} |
| 96 virtual void ToggleBookmarkBar() OVERRIDE {} | 96 virtual void ToggleBookmarkBar() OVERRIDE {} |
| 97 virtual void ShowUpdateChromeDialog() OVERRIDE {} | 97 virtual void ShowUpdateChromeDialog() OVERRIDE {} |
| 98 virtual void ShowBookmarkBubble(const GURL& url, | 98 virtual void ShowBookmarkBubble(const GURL& url, |
| 99 bool already_bookmarked) OVERRIDE {} | 99 bool already_bookmarked) OVERRIDE {} |
| 100 virtual void ShowChromeToMobileBubble() OVERRIDE {} | 100 virtual void ShowChromeToMobileBubble() OVERRIDE {} |
| 101 #if defined(ENABLE_ONE_CLICK_SIGNIN) | 101 #if defined(ENABLE_ONE_CLICK_SIGNIN) |
| 102 virtual void ShowOneClickSigninBubble( | 102 virtual void ShowOneClickSigninBubble( |
| 103 OneClickSigninBubbleType type, | 103 OneClickSigninBubbleType type, |
| 104 const string16& email, | 104 const string16& email, |
| 105 const string16& error_message, |
| 105 const StartSyncCallback& start_sync_callback) OVERRIDE {} | 106 const StartSyncCallback& start_sync_callback) OVERRIDE {} |
| 106 #endif | 107 #endif |
| 107 virtual bool IsDownloadShelfVisible() const OVERRIDE; | 108 virtual bool IsDownloadShelfVisible() const OVERRIDE; |
| 108 virtual DownloadShelf* GetDownloadShelf() OVERRIDE; | 109 virtual DownloadShelf* GetDownloadShelf() OVERRIDE; |
| 109 virtual void ConfirmBrowserCloseWithPendingDownloads() OVERRIDE {} | 110 virtual void ConfirmBrowserCloseWithPendingDownloads() OVERRIDE {} |
| 110 virtual void UserChangedTheme() OVERRIDE {} | 111 virtual void UserChangedTheme() OVERRIDE {} |
| 111 virtual int GetExtraRenderViewHeight() const OVERRIDE; | 112 virtual int GetExtraRenderViewHeight() const OVERRIDE; |
| 112 virtual void WebContentsFocused(content::WebContents* contents) OVERRIDE {} | 113 virtual void WebContentsFocused(content::WebContents* contents) OVERRIDE {} |
| 113 virtual void ShowWebsiteSettings(Profile* profile, | 114 virtual void ShowWebsiteSettings(Profile* profile, |
| 114 content::WebContents* web_contents, | 115 content::WebContents* web_contents, |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 150 }; | 151 }; |
| 151 | 152 |
| 152 namespace chrome { | 153 namespace chrome { |
| 153 | 154 |
| 154 // Helper that handle the lifetime of TestBrowserWindow instances. | 155 // Helper that handle the lifetime of TestBrowserWindow instances. |
| 155 Browser* CreateBrowserWithTestWindowForParams(Browser::CreateParams* params); | 156 Browser* CreateBrowserWithTestWindowForParams(Browser::CreateParams* params); |
| 156 | 157 |
| 157 } // namespace chrome | 158 } // namespace chrome |
| 158 | 159 |
| 159 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ | 160 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ |
| OLD | NEW |