| 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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 virtual bool IsBookmarkBarVisible() const OVERRIDE; | 87 virtual bool IsBookmarkBarVisible() const OVERRIDE; |
| 88 virtual bool IsBookmarkBarAnimating() const OVERRIDE; | 88 virtual bool IsBookmarkBarAnimating() const OVERRIDE; |
| 89 virtual bool IsTabStripEditable() const OVERRIDE; | 89 virtual bool IsTabStripEditable() const OVERRIDE; |
| 90 virtual bool IsToolbarVisible() const OVERRIDE; | 90 virtual bool IsToolbarVisible() const OVERRIDE; |
| 91 virtual gfx::Rect GetRootWindowResizerRect() const OVERRIDE; | 91 virtual gfx::Rect GetRootWindowResizerRect() const OVERRIDE; |
| 92 virtual bool IsPanel() const OVERRIDE; | 92 virtual bool IsPanel() const OVERRIDE; |
| 93 virtual void ConfirmAddSearchProvider(TemplateURL* template_url, | 93 virtual void ConfirmAddSearchProvider(TemplateURL* template_url, |
| 94 Profile* profile) OVERRIDE {} | 94 Profile* profile) OVERRIDE {} |
| 95 virtual void ToggleBookmarkBar() OVERRIDE {} | 95 virtual void ToggleBookmarkBar() OVERRIDE {} |
| 96 virtual void ShowUpdateChromeDialog() OVERRIDE {} | 96 virtual void ShowUpdateChromeDialog() OVERRIDE {} |
| 97 virtual void ShowTaskManager(chrome::HostDesktopType desktop_type) OVERRIDE {} | 97 virtual void ShowTaskManager() OVERRIDE {} |
| 98 virtual void ShowBackgroundPages( | 98 virtual void ShowBackgroundPages() OVERRIDE {} |
| 99 chrome::HostDesktopType desktop_type) OVERRIDE {} | |
| 100 virtual void ShowBookmarkBubble(const GURL& url, | 99 virtual void ShowBookmarkBubble(const GURL& url, |
| 101 bool already_bookmarked) OVERRIDE {} | 100 bool already_bookmarked) OVERRIDE {} |
| 102 virtual void ShowChromeToMobileBubble() OVERRIDE {} | 101 virtual void ShowChromeToMobileBubble() OVERRIDE {} |
| 103 #if defined(ENABLE_ONE_CLICK_SIGNIN) | 102 #if defined(ENABLE_ONE_CLICK_SIGNIN) |
| 104 virtual void ShowOneClickSigninBubble( | 103 virtual void ShowOneClickSigninBubble( |
| 105 const StartSyncCallback& start_sync_callback) OVERRIDE {} | 104 const StartSyncCallback& start_sync_callback) OVERRIDE {} |
| 106 #endif | 105 #endif |
| 107 virtual bool IsDownloadShelfVisible() const OVERRIDE; | 106 virtual bool IsDownloadShelfVisible() const OVERRIDE; |
| 108 virtual DownloadShelf* GetDownloadShelf() OVERRIDE; | 107 virtual DownloadShelf* GetDownloadShelf() OVERRIDE; |
| 109 virtual void ConfirmBrowserCloseWithPendingDownloads() OVERRIDE {} | 108 virtual void ConfirmBrowserCloseWithPendingDownloads() OVERRIDE {} |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 156 | 155 |
| 157 namespace chrome { | 156 namespace chrome { |
| 158 | 157 |
| 159 // Helpers that handle the lifetime of TestBrowserWindow instances. | 158 // Helpers that handle the lifetime of TestBrowserWindow instances. |
| 160 Browser* CreateBrowserWithTestWindowForProfile(Profile* profile); | 159 Browser* CreateBrowserWithTestWindowForProfile(Profile* profile); |
| 161 Browser* CreateBrowserWithTestWindowForParams(Browser::CreateParams* params); | 160 Browser* CreateBrowserWithTestWindowForParams(Browser::CreateParams* params); |
| 162 | 161 |
| 163 } // namespace chrome | 162 } // namespace chrome |
| 164 | 163 |
| 165 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ | 164 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ |
| OLD | NEW |