| 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 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 bool IsMaximized() const override; | 61 bool IsMaximized() const override; |
| 62 bool IsMinimized() const override; | 62 bool IsMinimized() const override; |
| 63 void Maximize() override {} | 63 void Maximize() override {} |
| 64 void Minimize() override {} | 64 void Minimize() override {} |
| 65 void Restore() override {} | 65 void Restore() override {} |
| 66 void EnterFullscreen(const GURL& url, | 66 void EnterFullscreen(const GURL& url, |
| 67 FullscreenExitBubbleType type, | 67 ExclusiveAccessBubbleType type, |
| 68 bool with_toolbar) override {} | 68 bool with_toolbar) override {} |
| 69 void ExitFullscreen() override {} | 69 void ExitFullscreen() override {} |
| 70 void UpdateFullscreenExitBubbleContent( | 70 void UpdateFullscreenExitBubbleContent( |
| 71 const GURL& url, | 71 const GURL& url, |
| 72 FullscreenExitBubbleType bubble_type) override {} | 72 ExclusiveAccessBubbleType bubble_type) override {} |
| 73 bool ShouldHideUIForFullscreen() const override; | 73 bool ShouldHideUIForFullscreen() const override; |
| 74 bool IsFullscreen() const override; | 74 bool IsFullscreen() const override; |
| 75 bool IsFullscreenBubbleVisible() const override; | 75 bool IsFullscreenBubbleVisible() const override; |
| 76 bool SupportsFullscreenWithToolbar() const override; | 76 bool SupportsFullscreenWithToolbar() const override; |
| 77 void UpdateFullscreenWithToolbar(bool with_toolbar) override; | 77 void UpdateFullscreenWithToolbar(bool with_toolbar) override; |
| 78 bool IsFullscreenWithToolbar() const override; | 78 bool IsFullscreenWithToolbar() const override; |
| 79 #if defined(OS_WIN) | 79 #if defined(OS_WIN) |
| 80 virtual void SetMetroSnapMode(bool enable) override {} | 80 virtual void SetMetroSnapMode(bool enable) override {} |
| 81 virtual bool IsInMetroSnapMode() const override; | 81 virtual bool IsInMetroSnapMode() const override; |
| 82 #endif | 82 #endif |
| (...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 192 }; | 192 }; |
| 193 | 193 |
| 194 namespace chrome { | 194 namespace chrome { |
| 195 | 195 |
| 196 // Helper that handle the lifetime of TestBrowserWindow instances. | 196 // Helper that handle the lifetime of TestBrowserWindow instances. |
| 197 Browser* CreateBrowserWithTestWindowForParams(Browser::CreateParams* params); | 197 Browser* CreateBrowserWithTestWindowForParams(Browser::CreateParams* params); |
| 198 | 198 |
| 199 } // namespace chrome | 199 } // namespace chrome |
| 200 | 200 |
| 201 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ | 201 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ |
| OLD | NEW |