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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 void ZoomChangedForActiveTab(bool can_show_bubble) override {} | 57 void ZoomChangedForActiveTab(bool can_show_bubble) override {} |
58 gfx::Rect GetRestoredBounds() const override; | 58 gfx::Rect GetRestoredBounds() const override; |
59 ui::WindowShowState GetRestoredState() const override; | 59 ui::WindowShowState GetRestoredState() const override; |
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 void SetFullscreen(bool fullscreen) override {} |
67 bool ShouldHideUIForFullscreen() const override; | 68 bool ShouldHideUIForFullscreen() const override; |
68 bool IsFullscreen() const override; | 69 bool IsFullscreen() const override; |
69 bool IsFullscreenBubbleVisible() const override; | 70 bool IsFullscreenBubbleVisible() const override; |
70 void MaybeShowNewBackShortcutBubble(bool forward) override {} | 71 void MaybeShowNewBackShortcutBubble(bool forward) override {} |
71 void HideNewBackShortcutBubble() override {} | 72 void HideNewBackShortcutBubble() override {} |
72 LocationBar* GetLocationBar() const override; | 73 LocationBar* GetLocationBar() const override; |
73 void SetFocusToLocationBar(bool select_all) override {} | 74 void SetFocusToLocationBar(bool select_all) override {} |
74 void UpdateReloadStopState(bool is_loading, bool force) override {} | 75 void UpdateReloadStopState(bool is_loading, bool force) override {} |
75 void UpdateToolbar(content::WebContents* contents) override {} | 76 void UpdateToolbar(content::WebContents* contents) override {} |
76 void ResetToolbarTabState(content::WebContents* contents) override {} | 77 void ResetToolbarTabState(content::WebContents* contents) override {} |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
203 | 204 |
204 namespace chrome { | 205 namespace chrome { |
205 | 206 |
206 // Helper that handle the lifetime of TestBrowserWindow instances. | 207 // Helper that handle the lifetime of TestBrowserWindow instances. |
207 std::unique_ptr<Browser> CreateBrowserWithTestWindowForParams( | 208 std::unique_ptr<Browser> CreateBrowserWithTestWindowForParams( |
208 Browser::CreateParams* params); | 209 Browser::CreateParams* params); |
209 | 210 |
210 } // namespace chrome | 211 } // namespace chrome |
211 | 212 |
212 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ | 213 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ |
OLD | NEW |