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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 gfx::Rect GetBounds() const override; | 60 gfx::Rect GetBounds() const override; |
61 gfx::Size GetContentsSize() const override; | 61 gfx::Size GetContentsSize() const override; |
62 bool IsMaximized() const override; | 62 bool IsMaximized() const override; |
63 bool IsMinimized() const override; | 63 bool IsMinimized() const override; |
64 void Maximize() override {} | 64 void Maximize() override {} |
65 void Minimize() override {} | 65 void Minimize() override {} |
66 void Restore() override {} | 66 void Restore() override {} |
67 bool ShouldHideUIForFullscreen() const override; | 67 bool ShouldHideUIForFullscreen() const override; |
68 bool IsFullscreen() const override; | 68 bool IsFullscreen() const override; |
69 bool IsFullscreenBubbleVisible() const override; | 69 bool IsFullscreenBubbleVisible() const override; |
| 70 void ShowNewBackShortcutBubble(bool forward) override; |
70 LocationBar* GetLocationBar() const override; | 71 LocationBar* GetLocationBar() const override; |
71 void SetFocusToLocationBar(bool select_all) override {} | 72 void SetFocusToLocationBar(bool select_all) override {} |
72 void UpdateReloadStopState(bool is_loading, bool force) override {} | 73 void UpdateReloadStopState(bool is_loading, bool force) override {} |
73 void UpdateToolbar(content::WebContents* contents) override {} | 74 void UpdateToolbar(content::WebContents* contents) override {} |
74 void ResetToolbarTabState(content::WebContents* contents) override {} | 75 void ResetToolbarTabState(content::WebContents* contents) override {} |
75 void FocusToolbar() override {} | 76 void FocusToolbar() override {} |
76 ToolbarActionsBar* GetToolbarActionsBar() override; | 77 ToolbarActionsBar* GetToolbarActionsBar() override; |
77 void ToolbarSizeChanged(bool is_animating) override {} | 78 void ToolbarSizeChanged(bool is_animating) override {} |
78 void FocusAppMenu() override {} | 79 void FocusAppMenu() override {} |
79 void FocusBookmarksToolbar() override {} | 80 void FocusBookmarksToolbar() override {} |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
201 | 202 |
202 namespace chrome { | 203 namespace chrome { |
203 | 204 |
204 // Helper that handle the lifetime of TestBrowserWindow instances. | 205 // Helper that handle the lifetime of TestBrowserWindow instances. |
205 std::unique_ptr<Browser> CreateBrowserWithTestWindowForParams( | 206 std::unique_ptr<Browser> CreateBrowserWithTestWindowForParams( |
206 Browser::CreateParams* params); | 207 Browser::CreateParams* params); |
207 | 208 |
208 } // namespace chrome | 209 } // namespace chrome |
209 | 210 |
210 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ | 211 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ |
OLD | NEW |