| 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/test/test_location_bar.h" | 10 #include "chrome/test/test_location_bar.h" |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 return const_cast<TestLocationBar*>(&location_bar_); | 43 return const_cast<TestLocationBar*>(&location_bar_); |
| 44 } | 44 } |
| 45 virtual void SetFocusToLocationBar() {} | 45 virtual void SetFocusToLocationBar() {} |
| 46 virtual void UpdateStopGoState(bool is_loading, bool force) {} | 46 virtual void UpdateStopGoState(bool is_loading, bool force) {} |
| 47 virtual void UpdateToolbar(TabContents* contents, | 47 virtual void UpdateToolbar(TabContents* contents, |
| 48 bool should_restore_state) {} | 48 bool should_restore_state) {} |
| 49 virtual void FocusToolbar() {} | 49 virtual void FocusToolbar() {} |
| 50 virtual void ShowPageMenu() {} | 50 virtual void ShowPageMenu() {} |
| 51 virtual void ShowAppMenu() {} | 51 virtual void ShowAppMenu() {} |
| 52 virtual int GetCommandId(const NativeWebKeyboardEvent& event) { return -1; } | 52 virtual int GetCommandId(const NativeWebKeyboardEvent& event) { return -1; } |
| 53 #if defined(TOOLKIT_VIEWS) |
| 54 virtual void ToggleCompactNavigationBar() {} |
| 55 #endif |
| 56 |
| 53 virtual bool IsBookmarkBarVisible() const { return false; } | 57 virtual bool IsBookmarkBarVisible() const { return false; } |
| 54 virtual gfx::Rect GetRootWindowResizerRect() const { return gfx::Rect(); } | 58 virtual gfx::Rect GetRootWindowResizerRect() const { return gfx::Rect(); } |
| 55 virtual void ConfirmAddSearchProvider(const TemplateURL* template_url, | 59 virtual void ConfirmAddSearchProvider(const TemplateURL* template_url, |
| 56 Profile* profile) {} | 60 Profile* profile) {} |
| 57 virtual void ToggleBookmarkBar() {} | 61 virtual void ToggleBookmarkBar() {} |
| 58 virtual void ToggleExtensionShelf() {} | 62 virtual void ToggleExtensionShelf() {} |
| 59 virtual void ShowAboutChromeDialog() {} | 63 virtual void ShowAboutChromeDialog() {} |
| 60 virtual void ShowTaskManager() {} | 64 virtual void ShowTaskManager() {} |
| 61 virtual void ShowBookmarkManager() {} | 65 virtual void ShowBookmarkManager() {} |
| 62 virtual void ShowBookmarkBubble(const GURL& url, bool already_bookmarked) {} | 66 virtual void ShowBookmarkBubble(const GURL& url, bool already_bookmarked) {} |
| (...skipping 23 matching lines...) Expand all Loading... |
| 86 protected: | 90 protected: |
| 87 virtual void DestroyBrowser() {} | 91 virtual void DestroyBrowser() {} |
| 88 | 92 |
| 89 private: | 93 private: |
| 90 TestLocationBar location_bar_; | 94 TestLocationBar location_bar_; |
| 91 | 95 |
| 92 DISALLOW_COPY_AND_ASSIGN(TestBrowserWindow); | 96 DISALLOW_COPY_AND_ASSIGN(TestBrowserWindow); |
| 93 }; | 97 }; |
| 94 | 98 |
| 95 #endif // CHROME_TEST_TEST_BROWSER_WINDOW_H_ | 99 #endif // CHROME_TEST_TEST_BROWSER_WINDOW_H_ |
| OLD | NEW |