| 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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 void UpdateToolbar(content::WebContents* contents) override {} | 73 void UpdateToolbar(content::WebContents* contents) override {} |
| 74 void ResetToolbarTabState(content::WebContents* contents) override {} | 74 void ResetToolbarTabState(content::WebContents* contents) override {} |
| 75 void FocusToolbar() override {} | 75 void FocusToolbar() override {} |
| 76 ToolbarActionsBar* GetToolbarActionsBar() override; | 76 ToolbarActionsBar* GetToolbarActionsBar() override; |
| 77 void ToolbarSizeChanged(bool is_animating) override {} | 77 void ToolbarSizeChanged(bool is_animating) override {} |
| 78 void FocusAppMenu() override {} | 78 void FocusAppMenu() override {} |
| 79 void FocusBookmarksToolbar() override {} | 79 void FocusBookmarksToolbar() override {} |
| 80 void FocusInfobars() override {} | 80 void FocusInfobars() override {} |
| 81 void RotatePaneFocus(bool forwards) override {} | 81 void RotatePaneFocus(bool forwards) override {} |
| 82 void ShowAppMenu() override {} | 82 void ShowAppMenu() override {} |
| 83 bool PreHandleKeyboardEvent(const content::NativeWebKeyboardEvent& event, | 83 content::KeyboardEventProcessingResult PreHandleKeyboardEvent( |
| 84 bool* is_keyboard_shortcut) 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 | |
| 88 bool IsBookmarkBarVisible() const override; | 87 bool IsBookmarkBarVisible() const override; |
| 89 bool IsBookmarkBarAnimating() const override; | 88 bool IsBookmarkBarAnimating() const override; |
| 90 bool IsTabStripEditable() const override; | 89 bool IsTabStripEditable() const override; |
| 91 bool IsToolbarVisible() const override; | 90 bool IsToolbarVisible() const override; |
| 92 void ShowUpdateChromeDialog() override {} | 91 void ShowUpdateChromeDialog() override {} |
| 93 void ShowBookmarkBubble(const GURL& url, bool already_bookmarked) override {} | 92 void ShowBookmarkBubble(const GURL& url, bool already_bookmarked) override {} |
| 94 void ShowBookmarkAppBubble( | 93 void ShowBookmarkAppBubble( |
| 95 const WebApplicationInfo& web_app_info, | 94 const WebApplicationInfo& web_app_info, |
| 96 const ShowBookmarkAppBubbleCallback& callback) override {} | 95 const ShowBookmarkAppBubbleCallback& callback) override {} |
| 97 autofill::SaveCardBubbleView* ShowSaveCreditCardBubble( | 96 autofill::SaveCardBubbleView* ShowSaveCreditCardBubble( |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 198 | 197 |
| 199 namespace chrome { | 198 namespace chrome { |
| 200 | 199 |
| 201 // Helper that handle the lifetime of TestBrowserWindow instances. | 200 // Helper that handle the lifetime of TestBrowserWindow instances. |
| 202 std::unique_ptr<Browser> CreateBrowserWithTestWindowForParams( | 201 std::unique_ptr<Browser> CreateBrowserWithTestWindowForParams( |
| 203 Browser::CreateParams* params); | 202 Browser::CreateParams* params); |
| 204 | 203 |
| 205 } // namespace chrome | 204 } // namespace chrome |
| 206 | 205 |
| 207 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ | 206 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ |
| OLD | NEW |