| 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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 virtual bool IsBookmarkBarVisible() const OVERRIDE; | 94 virtual bool IsBookmarkBarVisible() const OVERRIDE; |
| 95 virtual bool IsBookmarkBarAnimating() const OVERRIDE; | 95 virtual bool IsBookmarkBarAnimating() const OVERRIDE; |
| 96 virtual bool IsTabStripEditable() const OVERRIDE; | 96 virtual bool IsTabStripEditable() const OVERRIDE; |
| 97 virtual bool IsToolbarVisible() const OVERRIDE; | 97 virtual bool IsToolbarVisible() const OVERRIDE; |
| 98 virtual gfx::Rect GetRootWindowResizerRect() const OVERRIDE; | 98 virtual gfx::Rect GetRootWindowResizerRect() const OVERRIDE; |
| 99 virtual void ConfirmAddSearchProvider(TemplateURL* template_url, | 99 virtual void ConfirmAddSearchProvider(TemplateURL* template_url, |
| 100 Profile* profile) OVERRIDE {} | 100 Profile* profile) OVERRIDE {} |
| 101 virtual void ShowUpdateChromeDialog() OVERRIDE {} | 101 virtual void ShowUpdateChromeDialog() OVERRIDE {} |
| 102 virtual void ShowBookmarkBubble(const GURL& url, | 102 virtual void ShowBookmarkBubble(const GURL& url, |
| 103 bool already_bookmarked) OVERRIDE {} | 103 bool already_bookmarked) OVERRIDE {} |
| 104 virtual void ShowTranslateBubble( |
| 105 content::WebContents* contents, |
| 106 TranslateBubbleModel::ViewState view_state) OVERRIDE {} |
| 104 #if defined(ENABLE_ONE_CLICK_SIGNIN) | 107 #if defined(ENABLE_ONE_CLICK_SIGNIN) |
| 105 virtual void ShowOneClickSigninBubble( | 108 virtual void ShowOneClickSigninBubble( |
| 106 OneClickSigninBubbleType type, | 109 OneClickSigninBubbleType type, |
| 107 const string16& email, | 110 const string16& email, |
| 108 const string16& error_message, | 111 const string16& error_message, |
| 109 const StartSyncCallback& start_sync_callback) OVERRIDE {} | 112 const StartSyncCallback& start_sync_callback) OVERRIDE {} |
| 110 #endif | 113 #endif |
| 111 virtual bool IsDownloadShelfVisible() const OVERRIDE; | 114 virtual bool IsDownloadShelfVisible() const OVERRIDE; |
| 112 virtual DownloadShelf* GetDownloadShelf() OVERRIDE; | 115 virtual DownloadShelf* GetDownloadShelf() OVERRIDE; |
| 113 virtual void ConfirmBrowserCloseWithPendingDownloads( | 116 virtual void ConfirmBrowserCloseWithPendingDownloads( |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 185 }; | 188 }; |
| 186 | 189 |
| 187 namespace chrome { | 190 namespace chrome { |
| 188 | 191 |
| 189 // Helper that handle the lifetime of TestBrowserWindow instances. | 192 // Helper that handle the lifetime of TestBrowserWindow instances. |
| 190 Browser* CreateBrowserWithTestWindowForParams(Browser::CreateParams* params); | 193 Browser* CreateBrowserWithTestWindowForParams(Browser::CreateParams* params); |
| 191 | 194 |
| 192 } // namespace chrome | 195 } // namespace chrome |
| 193 | 196 |
| 194 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ | 197 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ |
| OLD | NEW |