| 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/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/macros.h" | 9 #include "base/macros.h" |
| 10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 void ShowAppMenu() override {} | 84 void ShowAppMenu() override {} |
| 85 bool PreHandleKeyboardEvent(const content::NativeWebKeyboardEvent& event, | 85 bool PreHandleKeyboardEvent(const content::NativeWebKeyboardEvent& event, |
| 86 bool* is_keyboard_shortcut) override; | 86 bool* is_keyboard_shortcut) override; |
| 87 void HandleKeyboardEvent( | 87 void HandleKeyboardEvent( |
| 88 const content::NativeWebKeyboardEvent& event) override {} | 88 const content::NativeWebKeyboardEvent& event) override {} |
| 89 | 89 |
| 90 bool IsBookmarkBarVisible() const override; | 90 bool IsBookmarkBarVisible() const override; |
| 91 bool IsBookmarkBarAnimating() const override; | 91 bool IsBookmarkBarAnimating() const override; |
| 92 bool IsTabStripEditable() const override; | 92 bool IsTabStripEditable() const override; |
| 93 bool IsToolbarVisible() const override; | 93 bool IsToolbarVisible() const override; |
| 94 gfx::Rect GetRootWindowResizerRect() const override; | |
| 95 void ShowUpdateChromeDialog() override {} | 94 void ShowUpdateChromeDialog() override {} |
| 96 void ShowBookmarkBubble(const GURL& url, bool already_bookmarked) override {} | 95 void ShowBookmarkBubble(const GURL& url, bool already_bookmarked) override {} |
| 97 void ShowBookmarkAppBubble( | 96 void ShowBookmarkAppBubble( |
| 98 const WebApplicationInfo& web_app_info, | 97 const WebApplicationInfo& web_app_info, |
| 99 const ShowBookmarkAppBubbleCallback& callback) override {} | 98 const ShowBookmarkAppBubbleCallback& callback) override {} |
| 100 autofill::SaveCardBubbleView* ShowSaveCreditCardBubble( | 99 autofill::SaveCardBubbleView* ShowSaveCreditCardBubble( |
| 101 content::WebContents* contents, | 100 content::WebContents* contents, |
| 102 autofill::SaveCardBubbleController* controller, | 101 autofill::SaveCardBubbleController* controller, |
| 103 bool user_gesture) override; | 102 bool user_gesture) override; |
| 104 void ShowTranslateBubble(content::WebContents* contents, | 103 void ShowTranslateBubble(content::WebContents* contents, |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 204 | 203 |
| 205 namespace chrome { | 204 namespace chrome { |
| 206 | 205 |
| 207 // Helper that handle the lifetime of TestBrowserWindow instances. | 206 // Helper that handle the lifetime of TestBrowserWindow instances. |
| 208 std::unique_ptr<Browser> CreateBrowserWithTestWindowForParams( | 207 std::unique_ptr<Browser> CreateBrowserWithTestWindowForParams( |
| 209 Browser::CreateParams* params); | 208 Browser::CreateParams* params); |
| 210 | 209 |
| 211 } // namespace chrome | 210 } // namespace chrome |
| 212 | 211 |
| 213 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ | 212 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ |
| OLD | NEW |