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