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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 ui::WindowShowState GetRestoredState() const override; | 58 ui::WindowShowState GetRestoredState() const override; |
59 gfx::Rect GetBounds() const override; | 59 gfx::Rect GetBounds() const override; |
60 bool IsMaximized() const override; | 60 bool IsMaximized() const override; |
61 bool IsMinimized() const override; | 61 bool IsMinimized() const override; |
62 void Maximize() override {} | 62 void Maximize() override {} |
63 void Minimize() override {} | 63 void Minimize() override {} |
64 void Restore() override {} | 64 void Restore() override {} |
65 bool ShouldHideUIForFullscreen() const override; | 65 bool ShouldHideUIForFullscreen() const override; |
66 bool IsFullscreen() const override; | 66 bool IsFullscreen() const override; |
67 bool IsFullscreenBubbleVisible() const override; | 67 bool IsFullscreenBubbleVisible() const override; |
68 bool SupportsFullscreenWithToolbar() const override; | |
69 void UpdateFullscreenWithToolbar(bool with_toolbar) override; | |
70 void ToggleFullscreenToolbar() override; | |
71 bool IsFullscreenWithToolbar() const override; | |
72 bool ShouldHideFullscreenToolbar() const override; | |
73 #if defined(OS_WIN) | 68 #if defined(OS_WIN) |
74 void SetMetroSnapMode(bool enable) override {} | 69 void SetMetroSnapMode(bool enable) override {} |
75 bool IsInMetroSnapMode() const override; | 70 bool IsInMetroSnapMode() const override; |
76 #endif | 71 #endif |
77 LocationBar* GetLocationBar() const override; | 72 LocationBar* GetLocationBar() const override; |
78 void SetFocusToLocationBar(bool select_all) override {} | 73 void SetFocusToLocationBar(bool select_all) override {} |
79 void UpdateReloadStopState(bool is_loading, bool force) override {} | 74 void UpdateReloadStopState(bool is_loading, bool force) override {} |
80 void UpdateToolbar(content::WebContents* contents) override {} | 75 void UpdateToolbar(content::WebContents* contents) override {} |
81 void ResetToolbarTabState(content::WebContents* contents) override {} | 76 void ResetToolbarTabState(content::WebContents* contents) override {} |
82 void FocusToolbar() override {} | 77 void FocusToolbar() override {} |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
211 | 206 |
212 namespace chrome { | 207 namespace chrome { |
213 | 208 |
214 // Helper that handle the lifetime of TestBrowserWindow instances. | 209 // Helper that handle the lifetime of TestBrowserWindow instances. |
215 scoped_ptr<Browser> CreateBrowserWithTestWindowForParams( | 210 scoped_ptr<Browser> CreateBrowserWithTestWindowForParams( |
216 Browser::CreateParams* params); | 211 Browser::CreateParams* params); |
217 | 212 |
218 } // namespace chrome | 213 } // namespace chrome |
219 | 214 |
220 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ | 215 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ |
OLD | NEW |