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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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, | 107 TranslateBubbleModel::ViewState view_state, |
108 TranslateErrors::Type error_type) OVERRIDE {} | 108 TranslateErrors::Type error_type) OVERRIDE {} |
109 #if defined(ENABLE_ONE_CLICK_SIGNIN) | 109 #if defined(ENABLE_ONE_CLICK_SIGNIN) |
110 virtual void ShowOneClickSigninBubble( | 110 virtual void ShowOneClickSigninBubble( |
111 OneClickSigninBubbleType type, | 111 OneClickSigninBubbleType type, |
112 const string16& email, | 112 const base::string16& email, |
113 const string16& error_message, | 113 const base::string16& error_message, |
114 const StartSyncCallback& start_sync_callback) OVERRIDE {} | 114 const StartSyncCallback& start_sync_callback) OVERRIDE {} |
115 #endif | 115 #endif |
116 virtual bool IsDownloadShelfVisible() const OVERRIDE; | 116 virtual bool IsDownloadShelfVisible() const OVERRIDE; |
117 virtual DownloadShelf* GetDownloadShelf() OVERRIDE; | 117 virtual DownloadShelf* GetDownloadShelf() OVERRIDE; |
118 virtual void ConfirmBrowserCloseWithPendingDownloads( | 118 virtual void ConfirmBrowserCloseWithPendingDownloads( |
119 int download_count, | 119 int download_count, |
120 Browser::DownloadClosePreventionType dialog_type, | 120 Browser::DownloadClosePreventionType dialog_type, |
121 bool app_modal, | 121 bool app_modal, |
122 const base::Callback<void(bool)>& callback) OVERRIDE {} | 122 const base::Callback<void(bool)>& callback) OVERRIDE {} |
123 virtual void UserChangedTheme() OVERRIDE {} | 123 virtual void UserChangedTheme() OVERRIDE {} |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
191 }; | 191 }; |
192 | 192 |
193 namespace chrome { | 193 namespace chrome { |
194 | 194 |
195 // Helper that handle the lifetime of TestBrowserWindow instances. | 195 // Helper that handle the lifetime of TestBrowserWindow instances. |
196 Browser* CreateBrowserWithTestWindowForParams(Browser::CreateParams* params); | 196 Browser* CreateBrowserWithTestWindowForParams(Browser::CreateParams* params); |
197 | 197 |
198 } // namespace chrome | 198 } // namespace chrome |
199 | 199 |
200 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ | 200 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ |
OLD | NEW |