| 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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 void RotatePaneFocus(bool forwards) override {} | 81 void RotatePaneFocus(bool forwards) override {} |
| 82 void ShowAppMenu() override {} | 82 void ShowAppMenu() override {} |
| 83 content::KeyboardEventProcessingResult PreHandleKeyboardEvent( | 83 content::KeyboardEventProcessingResult PreHandleKeyboardEvent( |
| 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 void ShowUpdateChromeDialog() override {} | 92 void ShowUpdateChromeDialog() override {} |
| 92 void ShowBookmarkBubble(const GURL& url, bool already_bookmarked) override {} | 93 void ShowBookmarkBubble(const GURL& url, bool already_bookmarked) override {} |
| 93 void ShowBookmarkAppBubble( | 94 void ShowBookmarkAppBubble( |
| 94 const WebApplicationInfo& web_app_info, | 95 const WebApplicationInfo& web_app_info, |
| 95 const ShowBookmarkAppBubbleCallback& callback) override {} | 96 const ShowBookmarkAppBubbleCallback& callback) override {} |
| 96 autofill::SaveCardBubbleView* ShowSaveCreditCardBubble( | 97 autofill::SaveCardBubbleView* ShowSaveCreditCardBubble( |
| 97 content::WebContents* contents, | 98 content::WebContents* contents, |
| 98 autofill::SaveCardBubbleController* controller, | 99 autofill::SaveCardBubbleController* controller, |
| 99 bool user_gesture) override; | 100 bool user_gesture) override; |
| 100 ShowTranslateBubbleResult ShowTranslateBubble( | 101 ShowTranslateBubbleResult ShowTranslateBubble( |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 197 | 198 |
| 198 namespace chrome { | 199 namespace chrome { |
| 199 | 200 |
| 200 // Helper that handle the lifetime of TestBrowserWindow instances. | 201 // Helper that handle the lifetime of TestBrowserWindow instances. |
| 201 std::unique_ptr<Browser> CreateBrowserWithTestWindowForParams( | 202 std::unique_ptr<Browser> CreateBrowserWithTestWindowForParams( |
| 202 Browser::CreateParams* params); | 203 Browser::CreateParams* params); |
| 203 | 204 |
| 204 } // namespace chrome | 205 } // namespace chrome |
| 205 | 206 |
| 206 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ | 207 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ |
| OLD | NEW |