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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 gfx::Rect GetRootWindowResizerRect() const override; | 104 gfx::Rect GetRootWindowResizerRect() const override; |
105 void ConfirmAddSearchProvider(TemplateURL* template_url, | 105 void ConfirmAddSearchProvider(TemplateURL* template_url, |
106 Profile* profile) override {} | 106 Profile* profile) override {} |
107 void ShowUpdateChromeDialog() override {} | 107 void ShowUpdateChromeDialog() override {} |
108 void ShowBookmarkBubble(const GURL& url, bool already_bookmarked) override {} | 108 void ShowBookmarkBubble(const GURL& url, bool already_bookmarked) override {} |
109 void ShowBookmarkAppBubble( | 109 void ShowBookmarkAppBubble( |
110 const WebApplicationInfo& web_app_info, | 110 const WebApplicationInfo& web_app_info, |
111 const ShowBookmarkAppBubbleCallback& callback) override {} | 111 const ShowBookmarkAppBubbleCallback& callback) override {} |
112 autofill::SaveCardBubbleView* ShowSaveCreditCardBubble( | 112 autofill::SaveCardBubbleView* ShowSaveCreditCardBubble( |
113 content::WebContents* contents, | 113 content::WebContents* contents, |
114 autofill::SaveCardBubbleController* controller) override; | 114 autofill::SaveCardBubbleController* controller, |
| 115 bool user_gesture) override; |
115 void ShowTranslateBubble(content::WebContents* contents, | 116 void ShowTranslateBubble(content::WebContents* contents, |
116 translate::TranslateStep step, | 117 translate::TranslateStep step, |
117 translate::TranslateErrors::Type error_type, | 118 translate::TranslateErrors::Type error_type, |
118 bool is_user_gesture) override {} | 119 bool is_user_gesture) override {} |
119 bool IsProfileResetBubbleSupported() const override; | 120 bool IsProfileResetBubbleSupported() const override; |
120 GlobalErrorBubbleViewBase* ShowProfileResetBubble( | 121 GlobalErrorBubbleViewBase* ShowProfileResetBubble( |
121 const base::WeakPtr<ProfileResetGlobalError>& global_error) override; | 122 const base::WeakPtr<ProfileResetGlobalError>& global_error) override; |
122 #if defined(ENABLE_ONE_CLICK_SIGNIN) | 123 #if defined(ENABLE_ONE_CLICK_SIGNIN) |
123 void ShowOneClickSigninBubble( | 124 void ShowOneClickSigninBubble( |
124 OneClickSigninBubbleType type, | 125 OneClickSigninBubbleType type, |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
212 | 213 |
213 namespace chrome { | 214 namespace chrome { |
214 | 215 |
215 // Helper that handle the lifetime of TestBrowserWindow instances. | 216 // Helper that handle the lifetime of TestBrowserWindow instances. |
216 scoped_ptr<Browser> CreateBrowserWithTestWindowForParams( | 217 scoped_ptr<Browser> CreateBrowserWithTestWindowForParams( |
217 Browser::CreateParams* params); | 218 Browser::CreateParams* params); |
218 | 219 |
219 } // namespace chrome | 220 } // namespace chrome |
220 | 221 |
221 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ | 222 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ |
OLD | NEW |