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