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/macros.h" | 8 #include "base/macros.h" |
9 #include "chrome/browser/download/test_download_shelf.h" | 9 #include "chrome/browser/download/test_download_shelf.h" |
10 #include "chrome/browser/ui/browser.h" | 10 #include "chrome/browser/ui/browser.h" |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 const content::NativeWebKeyboardEvent& event) override; | 84 const content::NativeWebKeyboardEvent& event) override; |
85 void HandleKeyboardEvent( | 85 void HandleKeyboardEvent( |
86 const content::NativeWebKeyboardEvent& event) override {} | 86 const content::NativeWebKeyboardEvent& event) override {} |
87 bool IsBookmarkBarVisible() const override; | 87 bool IsBookmarkBarVisible() const override; |
88 bool IsBookmarkBarAnimating() const override; | 88 bool IsBookmarkBarAnimating() const override; |
89 bool IsTabStripEditable() const override; | 89 bool IsTabStripEditable() const override; |
90 bool IsToolbarVisible() const override; | 90 bool IsToolbarVisible() const override; |
91 bool IsToolbarShowing() const override; | 91 bool IsToolbarShowing() const override; |
92 void ShowUpdateChromeDialog() override {} | 92 void ShowUpdateChromeDialog() override {} |
93 void ShowBookmarkBubble(const GURL& url, bool already_bookmarked) override {} | 93 void ShowBookmarkBubble(const GURL& url, bool already_bookmarked) override {} |
94 void ShowBookmarkAppBubble( | |
95 const WebApplicationInfo& web_app_info, | |
96 const ShowBookmarkAppBubbleCallback& callback) override {} | |
97 autofill::SaveCardBubbleView* ShowSaveCreditCardBubble( | 94 autofill::SaveCardBubbleView* ShowSaveCreditCardBubble( |
98 content::WebContents* contents, | 95 content::WebContents* contents, |
99 autofill::SaveCardBubbleController* controller, | 96 autofill::SaveCardBubbleController* controller, |
100 bool user_gesture) override; | 97 bool user_gesture) override; |
101 ShowTranslateBubbleResult ShowTranslateBubble( | 98 ShowTranslateBubbleResult ShowTranslateBubble( |
102 content::WebContents* contents, | 99 content::WebContents* contents, |
103 translate::TranslateStep step, | 100 translate::TranslateStep step, |
104 translate::TranslateErrors::Type error_type, | 101 translate::TranslateErrors::Type error_type, |
105 bool is_user_gesture) override; | 102 bool is_user_gesture) override; |
106 #if BUILDFLAG(ENABLE_ONE_CLICK_SIGNIN) | 103 #if BUILDFLAG(ENABLE_ONE_CLICK_SIGNIN) |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
199 | 196 |
200 namespace chrome { | 197 namespace chrome { |
201 | 198 |
202 // Helper that handle the lifetime of TestBrowserWindow instances. | 199 // Helper that handle the lifetime of TestBrowserWindow instances. |
203 std::unique_ptr<Browser> CreateBrowserWithTestWindowForParams( | 200 std::unique_ptr<Browser> CreateBrowserWithTestWindowForParams( |
204 Browser::CreateParams* params); | 201 Browser::CreateParams* params); |
205 | 202 |
206 } // namespace chrome | 203 } // namespace chrome |
207 | 204 |
208 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ | 205 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ |
OLD | NEW |