| OLD | NEW |
| 1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2009 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 24 matching lines...) Expand all Loading... |
| 35 virtual void UpdateLoadingAnimations(bool should_animate) {} | 35 virtual void UpdateLoadingAnimations(bool should_animate) {} |
| 36 virtual void SetStarredState(bool is_starred) {} | 36 virtual void SetStarredState(bool is_starred) {} |
| 37 virtual gfx::Rect GetNormalBounds() const { return gfx::Rect(); } | 37 virtual gfx::Rect GetNormalBounds() const { return gfx::Rect(); } |
| 38 virtual bool IsMaximized() const { return false; } | 38 virtual bool IsMaximized() const { return false; } |
| 39 virtual void SetFullscreen(bool fullscreen) {} | 39 virtual void SetFullscreen(bool fullscreen) {} |
| 40 virtual bool IsFullscreen() const { return false; } | 40 virtual bool IsFullscreen() const { return false; } |
| 41 virtual LocationBar* GetLocationBar() const { | 41 virtual LocationBar* GetLocationBar() const { |
| 42 return const_cast<TestLocationBar*>(&location_bar_); | 42 return const_cast<TestLocationBar*>(&location_bar_); |
| 43 } | 43 } |
| 44 virtual void SetFocusToLocationBar() {} | 44 virtual void SetFocusToLocationBar() {} |
| 45 virtual void UpdateStopGoState(bool is_loading) {} | 45 virtual void UpdateStopGoState(bool is_loading, bool force) {} |
| 46 virtual void UpdateToolbar(TabContents* contents, | 46 virtual void UpdateToolbar(TabContents* contents, |
| 47 bool should_restore_state) {} | 47 bool should_restore_state) {} |
| 48 virtual void FocusToolbar() {} | 48 virtual void FocusToolbar() {} |
| 49 virtual bool IsBookmarkBarVisible() const { return false; } | 49 virtual bool IsBookmarkBarVisible() const { return false; } |
| 50 virtual gfx::Rect GetRootWindowResizerRect() const { return gfx::Rect(); } | 50 virtual gfx::Rect GetRootWindowResizerRect() const { return gfx::Rect(); } |
| 51 virtual void ToggleBookmarkBar() {} | 51 virtual void ToggleBookmarkBar() {} |
| 52 virtual void ShowAboutChromeDialog() {} | 52 virtual void ShowAboutChromeDialog() {} |
| 53 virtual void ShowBookmarkManager() {} | 53 virtual void ShowBookmarkManager() {} |
| 54 virtual void ShowBookmarkBubble(const GURL& url, bool already_bookmarked) {} | 54 virtual void ShowBookmarkBubble(const GURL& url, bool already_bookmarked) {} |
| 55 virtual void ShowReportBugDialog() {} | 55 virtual void ShowReportBugDialog() {} |
| (...skipping 11 matching lines...) Expand all Loading... |
| 67 | 67 |
| 68 private: | 68 private: |
| 69 TabStrip tab_strip_; | 69 TabStrip tab_strip_; |
| 70 | 70 |
| 71 TestLocationBar location_bar_; | 71 TestLocationBar location_bar_; |
| 72 | 72 |
| 73 DISALLOW_COPY_AND_ASSIGN(TestBrowserWindow); | 73 DISALLOW_COPY_AND_ASSIGN(TestBrowserWindow); |
| 74 }; | 74 }; |
| 75 | 75 |
| 76 #endif // CHROME_TEST_TEST_BROWSER_WINDOW_H_ | 76 #endif // CHROME_TEST_TEST_BROWSER_WINDOW_H_ |
| OLD | NEW |