| 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 27 matching lines...) Expand all Loading... |
| 38 virtual bool IsAlwaysOnTop() const OVERRIDE; | 38 virtual bool IsAlwaysOnTop() const OVERRIDE; |
| 39 virtual gfx::NativeWindow GetNativeWindow() OVERRIDE; | 39 virtual gfx::NativeWindow GetNativeWindow() OVERRIDE; |
| 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 OnActiveTabChanged(content::WebContents* old_contents, |
| 49 content::WebContents* new_contents, |
| 50 int index, |
| 51 int reason) OVERRIDE {} |
| 48 virtual void ZoomChangedForActiveTab(bool can_show_bubble) OVERRIDE {} | 52 virtual void ZoomChangedForActiveTab(bool can_show_bubble) OVERRIDE {} |
| 49 virtual gfx::Rect GetRestoredBounds() const OVERRIDE; | 53 virtual gfx::Rect GetRestoredBounds() const OVERRIDE; |
| 50 virtual ui::WindowShowState GetRestoredState() const OVERRIDE; | 54 virtual ui::WindowShowState GetRestoredState() const OVERRIDE; |
| 51 virtual gfx::Rect GetBounds() const OVERRIDE; | 55 virtual gfx::Rect GetBounds() const OVERRIDE; |
| 52 virtual bool IsMaximized() const OVERRIDE; | 56 virtual bool IsMaximized() const OVERRIDE; |
| 53 virtual bool IsMinimized() const OVERRIDE; | 57 virtual bool IsMinimized() const OVERRIDE; |
| 54 virtual void Maximize() OVERRIDE {} | 58 virtual void Maximize() OVERRIDE {} |
| 55 virtual void Minimize() OVERRIDE {} | 59 virtual void Minimize() OVERRIDE {} |
| 56 virtual void Restore() OVERRIDE {} | 60 virtual void Restore() OVERRIDE {} |
| 57 virtual void EnterFullscreen( | 61 virtual void EnterFullscreen( |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 153 }; | 157 }; |
| 154 | 158 |
| 155 namespace chrome { | 159 namespace chrome { |
| 156 | 160 |
| 157 // Helper that handle the lifetime of TestBrowserWindow instances. | 161 // Helper that handle the lifetime of TestBrowserWindow instances. |
| 158 Browser* CreateBrowserWithTestWindowForParams(Browser::CreateParams* params); | 162 Browser* CreateBrowserWithTestWindowForParams(Browser::CreateParams* params); |
| 159 | 163 |
| 160 } // namespace chrome | 164 } // namespace chrome |
| 161 | 165 |
| 162 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ | 166 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ |
| OLD | NEW |