| 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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 void ConfirmAddSearchProvider(TemplateURL* template_url, | 99 void ConfirmAddSearchProvider(TemplateURL* template_url, |
| 100 Profile* profile) override {} | 100 Profile* profile) override {} |
| 101 void ShowUpdateChromeDialog() override {} | 101 void ShowUpdateChromeDialog() override {} |
| 102 void ShowBookmarkBubble(const GURL& url, bool already_bookmarked) override {} | 102 void ShowBookmarkBubble(const GURL& url, bool already_bookmarked) override {} |
| 103 void ShowBookmarkAppBubble(const WebApplicationInfo& web_app_info, | 103 void ShowBookmarkAppBubble(const WebApplicationInfo& web_app_info, |
| 104 const std::string& extension_id) override {} | 104 const std::string& extension_id) override {} |
| 105 void ShowTranslateBubble(content::WebContents* contents, | 105 void ShowTranslateBubble(content::WebContents* contents, |
| 106 translate::TranslateStep step, | 106 translate::TranslateStep step, |
| 107 translate::TranslateErrors::Type error_type, | 107 translate::TranslateErrors::Type error_type, |
| 108 bool is_user_gesture) override {} | 108 bool is_user_gesture) override {} |
| 109 void CloseTranslateBubble() override {} |
| 109 #if defined(ENABLE_ONE_CLICK_SIGNIN) | 110 #if defined(ENABLE_ONE_CLICK_SIGNIN) |
| 110 void ShowOneClickSigninBubble( | 111 void ShowOneClickSigninBubble( |
| 111 OneClickSigninBubbleType type, | 112 OneClickSigninBubbleType type, |
| 112 const base::string16& email, | 113 const base::string16& email, |
| 113 const base::string16& error_message, | 114 const base::string16& error_message, |
| 114 const StartSyncCallback& start_sync_callback) override {} | 115 const StartSyncCallback& start_sync_callback) override {} |
| 115 #endif | 116 #endif |
| 116 bool IsDownloadShelfVisible() const override; | 117 bool IsDownloadShelfVisible() const override; |
| 117 DownloadShelf* GetDownloadShelf() override; | 118 DownloadShelf* GetDownloadShelf() override; |
| 118 void ConfirmBrowserCloseWithPendingDownloads( | 119 void ConfirmBrowserCloseWithPendingDownloads( |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 194 }; | 195 }; |
| 195 | 196 |
| 196 namespace chrome { | 197 namespace chrome { |
| 197 | 198 |
| 198 // Helper that handle the lifetime of TestBrowserWindow instances. | 199 // Helper that handle the lifetime of TestBrowserWindow instances. |
| 199 Browser* CreateBrowserWithTestWindowForParams(Browser::CreateParams* params); | 200 Browser* CreateBrowserWithTestWindowForParams(Browser::CreateParams* params); |
| 200 | 201 |
| 201 } // namespace chrome | 202 } // namespace chrome |
| 202 | 203 |
| 203 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ | 204 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ |
| OLD | NEW |