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