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/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 int reason) override {} | 55 int reason) override {} |
56 void ZoomChangedForActiveTab(bool can_show_bubble) override {} | 56 void ZoomChangedForActiveTab(bool can_show_bubble) override {} |
57 gfx::Rect GetRestoredBounds() const override; | 57 gfx::Rect GetRestoredBounds() const override; |
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 void EnterFullscreen(const GURL& url, | |
66 ExclusiveAccessBubbleType type, | |
67 bool with_toolbar) override {} | |
68 void ExitFullscreen() override {} | |
69 void UpdateExclusiveAccessExitBubbleContent( | |
70 const GURL& url, | |
71 ExclusiveAccessBubbleType bubble_type) override {} | |
72 bool ShouldHideUIForFullscreen() const override; | 65 bool ShouldHideUIForFullscreen() const override; |
73 bool IsFullscreen() const override; | 66 bool IsFullscreen() const override; |
74 bool IsFullscreenBubbleVisible() const override; | 67 bool IsFullscreenBubbleVisible() const override; |
75 bool SupportsFullscreenWithToolbar() const override; | 68 bool SupportsFullscreenWithToolbar() const override; |
76 void UpdateFullscreenWithToolbar(bool with_toolbar) override; | 69 void UpdateFullscreenWithToolbar(bool with_toolbar) override; |
77 void ToggleFullscreenToolbar() override; | 70 void ToggleFullscreenToolbar() override; |
78 bool IsFullscreenWithToolbar() const override; | 71 bool IsFullscreenWithToolbar() const override; |
79 bool ShouldHideFullscreenToolbar() const override; | 72 bool ShouldHideFullscreenToolbar() const override; |
80 #if defined(OS_WIN) | 73 #if defined(OS_WIN) |
81 void SetMetroSnapMode(bool enable) override {} | 74 void SetMetroSnapMode(bool enable) override {} |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
212 | 205 |
213 namespace chrome { | 206 namespace chrome { |
214 | 207 |
215 // Helper that handle the lifetime of TestBrowserWindow instances. | 208 // Helper that handle the lifetime of TestBrowserWindow instances. |
216 scoped_ptr<Browser> CreateBrowserWithTestWindowForParams( | 209 scoped_ptr<Browser> CreateBrowserWithTestWindowForParams( |
217 Browser::CreateParams* params); | 210 Browser::CreateParams* params); |
218 | 211 |
219 } // namespace chrome | 212 } // namespace chrome |
220 | 213 |
221 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ | 214 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ |
OLD | NEW |