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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 ShowBookmarkAppBubble( | 105 virtual void ShowBookmarkAppBubble( |
106 const WebApplicationInfo& web_app_info, | 106 const WebApplicationInfo& web_app_info, |
107 const std::string& extension_id) OVERRIDE {} | 107 const std::string& extension_id) OVERRIDE {} |
108 virtual void ShowTranslateBubble(content::WebContents* contents, | 108 virtual void ShowTranslateBubble( |
109 translate::TranslateStep step, | 109 content::WebContents* contents, |
110 TranslateErrors::Type error_type) OVERRIDE {} | 110 translate::TranslateStep step, |
| 111 translate::TranslateErrors::Type error_type) OVERRIDE {} |
111 #if defined(ENABLE_ONE_CLICK_SIGNIN) | 112 #if defined(ENABLE_ONE_CLICK_SIGNIN) |
112 virtual void ShowOneClickSigninBubble( | 113 virtual void ShowOneClickSigninBubble( |
113 OneClickSigninBubbleType type, | 114 OneClickSigninBubbleType type, |
114 const base::string16& email, | 115 const base::string16& email, |
115 const base::string16& error_message, | 116 const base::string16& error_message, |
116 const StartSyncCallback& start_sync_callback) OVERRIDE {} | 117 const StartSyncCallback& start_sync_callback) OVERRIDE {} |
117 #endif | 118 #endif |
118 virtual bool IsDownloadShelfVisible() const OVERRIDE; | 119 virtual bool IsDownloadShelfVisible() const OVERRIDE; |
119 virtual DownloadShelf* GetDownloadShelf() OVERRIDE; | 120 virtual DownloadShelf* GetDownloadShelf() OVERRIDE; |
120 virtual void ConfirmBrowserCloseWithPendingDownloads( | 121 virtual void ConfirmBrowserCloseWithPendingDownloads( |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
200 }; | 201 }; |
201 | 202 |
202 namespace chrome { | 203 namespace chrome { |
203 | 204 |
204 // Helper that handle the lifetime of TestBrowserWindow instances. | 205 // Helper that handle the lifetime of TestBrowserWindow instances. |
205 Browser* CreateBrowserWithTestWindowForParams(Browser::CreateParams* params); | 206 Browser* CreateBrowserWithTestWindowForParams(Browser::CreateParams* params); |
206 | 207 |
207 } // namespace chrome | 208 } // namespace chrome |
208 | 209 |
209 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ | 210 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ |
OLD | NEW |