| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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_TEST_BROWSER_WINDOW_H_ | 5 #ifndef CHROME_TEST_TEST_BROWSER_WINDOW_H_ |
| 6 #define CHROME_TEST_TEST_BROWSER_WINDOW_H_ | 6 #define CHROME_TEST_TEST_BROWSER_WINDOW_H_ |
| 7 | 7 |
| 8 #include "chrome/browser/browser.h" | 8 #include "chrome/browser/browser.h" |
| 9 #include "chrome/browser/browser_window.h" | 9 #include "chrome/browser/browser_window.h" |
| 10 #include "chrome/browser/views/tabs/tab_strip.h" | 10 #include "chrome/browser/views/tabs/tab_strip.h" |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 virtual void FlashFrame() {} | 28 virtual void FlashFrame() {} |
| 29 virtual void* GetNativeHandle() { return NULL; } | 29 virtual void* GetNativeHandle() { return NULL; } |
| 30 virtual BrowserWindowTesting* GetBrowserWindowTesting() { return NULL; } | 30 virtual BrowserWindowTesting* GetBrowserWindowTesting() { return NULL; } |
| 31 virtual StatusBubble* GetStatusBubble() { return NULL; } | 31 virtual StatusBubble* GetStatusBubble() { return NULL; } |
| 32 virtual void SelectedTabToolbarSizeChanged(bool is_animating) {} | 32 virtual void SelectedTabToolbarSizeChanged(bool is_animating) {} |
| 33 virtual void UpdateTitleBar() {} | 33 virtual void UpdateTitleBar() {} |
| 34 virtual void UpdateLoadingAnimations(bool should_animate) {} | 34 virtual void UpdateLoadingAnimations(bool should_animate) {} |
| 35 virtual void SetStarredState(bool is_starred) {} | 35 virtual void SetStarredState(bool is_starred) {} |
| 36 virtual gfx::Rect GetNormalBounds() const { return gfx::Rect(); } | 36 virtual gfx::Rect GetNormalBounds() const { return gfx::Rect(); } |
| 37 virtual bool IsMaximized() const { return false; } | 37 virtual bool IsMaximized() const { return false; } |
| 38 virtual void SetFullscreen(bool fullscreen) {} |
| 39 virtual bool IsFullscreen() const { return false; } |
| 38 virtual LocationBar* GetLocationBar() const { | 40 virtual LocationBar* GetLocationBar() const { |
| 39 return const_cast<TestLocationBar*>(&location_bar_); | 41 return const_cast<TestLocationBar*>(&location_bar_); |
| 40 } | 42 } |
| 41 virtual void SetFocusToLocationBar() {} | 43 virtual void SetFocusToLocationBar() {} |
| 42 virtual void UpdateStopGoState(bool is_loading) {} | 44 virtual void UpdateStopGoState(bool is_loading) {} |
| 43 virtual void UpdateToolbar(TabContents* contents, | 45 virtual void UpdateToolbar(TabContents* contents, |
| 44 bool should_restore_state) {} | 46 bool should_restore_state) {} |
| 45 virtual void FocusToolbar() {} | 47 virtual void FocusToolbar() {} |
| 46 virtual bool IsBookmarkBarVisible() const { return false; } | 48 virtual bool IsBookmarkBarVisible() const { return false; } |
| 47 virtual gfx::Rect GetRootWindowResizerRect() const { return gfx::Rect(); } | 49 virtual gfx::Rect GetRootWindowResizerRect() const { return gfx::Rect(); } |
| (...skipping 17 matching lines...) Expand all Loading... |
| 65 | 67 |
| 66 private: | 68 private: |
| 67 TabStrip tab_strip_; | 69 TabStrip tab_strip_; |
| 68 | 70 |
| 69 TestLocationBar location_bar_; | 71 TestLocationBar location_bar_; |
| 70 | 72 |
| 71 DISALLOW_COPY_AND_ASSIGN(TestBrowserWindow); | 73 DISALLOW_COPY_AND_ASSIGN(TestBrowserWindow); |
| 72 }; | 74 }; |
| 73 | 75 |
| 74 #endif // CHROME_TEST_TEST_BROWSER_WINDOW_H_ | 76 #endif // CHROME_TEST_TEST_BROWSER_WINDOW_H_ |
| OLD | NEW |