| 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 29 matching lines...) Expand all Loading... |
| 40 virtual BrowserWindowTesting* GetBrowserWindowTesting() OVERRIDE; | 40 virtual BrowserWindowTesting* GetBrowserWindowTesting() OVERRIDE; |
| 41 virtual StatusBubble* GetStatusBubble() OVERRIDE; | 41 virtual StatusBubble* GetStatusBubble() OVERRIDE; |
| 42 virtual void UpdateTitleBar() OVERRIDE {} | 42 virtual void UpdateTitleBar() OVERRIDE {} |
| 43 virtual void BookmarkBarStateChanged( | 43 virtual void BookmarkBarStateChanged( |
| 44 BookmarkBar::AnimateChangeType change_type) OVERRIDE {} | 44 BookmarkBar::AnimateChangeType change_type) OVERRIDE {} |
| 45 virtual void UpdateDevTools() OVERRIDE {} | 45 virtual void UpdateDevTools() OVERRIDE {} |
| 46 virtual void UpdateLoadingAnimations(bool should_animate) OVERRIDE {} | 46 virtual void UpdateLoadingAnimations(bool should_animate) OVERRIDE {} |
| 47 virtual void SetStarredState(bool is_starred) OVERRIDE {} | 47 virtual void SetStarredState(bool is_starred) OVERRIDE {} |
| 48 virtual void ZoomChangedForActiveTab(bool can_show_bubble) OVERRIDE {} | 48 virtual void ZoomChangedForActiveTab(bool can_show_bubble) OVERRIDE {} |
| 49 virtual gfx::Rect GetRestoredBounds() const OVERRIDE; | 49 virtual gfx::Rect GetRestoredBounds() const OVERRIDE; |
| 50 virtual ui::WindowShowState GetRestoredState() const OVERRIDE; |
| 50 virtual gfx::Rect GetBounds() const OVERRIDE; | 51 virtual gfx::Rect GetBounds() const OVERRIDE; |
| 51 virtual bool IsMaximized() const OVERRIDE; | 52 virtual bool IsMaximized() const OVERRIDE; |
| 52 virtual bool IsMinimized() const OVERRIDE; | 53 virtual bool IsMinimized() const OVERRIDE; |
| 53 virtual void Maximize() OVERRIDE {} | 54 virtual void Maximize() OVERRIDE {} |
| 54 virtual void Minimize() OVERRIDE {} | 55 virtual void Minimize() OVERRIDE {} |
| 55 virtual void Restore() OVERRIDE {} | 56 virtual void Restore() OVERRIDE {} |
| 56 virtual void EnterFullscreen( | 57 virtual void EnterFullscreen( |
| 57 const GURL& url, FullscreenExitBubbleType type) OVERRIDE {} | 58 const GURL& url, FullscreenExitBubbleType type) OVERRIDE {} |
| 58 virtual void ExitFullscreen() OVERRIDE {} | 59 virtual void ExitFullscreen() OVERRIDE {} |
| 59 virtual void UpdateFullscreenExitBubbleContent( | 60 virtual void UpdateFullscreenExitBubbleContent( |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 151 }; | 152 }; |
| 152 | 153 |
| 153 namespace chrome { | 154 namespace chrome { |
| 154 | 155 |
| 155 // Helper that handle the lifetime of TestBrowserWindow instances. | 156 // Helper that handle the lifetime of TestBrowserWindow instances. |
| 156 Browser* CreateBrowserWithTestWindowForParams(Browser::CreateParams* params); | 157 Browser* CreateBrowserWithTestWindowForParams(Browser::CreateParams* params); |
| 157 | 158 |
| 158 } // namespace chrome | 159 } // namespace chrome |
| 159 | 160 |
| 160 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ | 161 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ |
| OLD | NEW |