| 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 virtual LocationBar* GetLocationBar() const { | 46 virtual LocationBar* GetLocationBar() const { |
| 47 return const_cast<TestLocationBar*>(&location_bar_); | 47 return const_cast<TestLocationBar*>(&location_bar_); |
| 48 } | 48 } |
| 49 virtual void SetFocusToLocationBar() {} | 49 virtual void SetFocusToLocationBar() {} |
| 50 virtual void UpdateStopGoState(bool is_loading, bool force) {} | 50 virtual void UpdateStopGoState(bool is_loading, bool force) {} |
| 51 virtual void UpdateToolbar(TabContents* contents, | 51 virtual void UpdateToolbar(TabContents* contents, |
| 52 bool should_restore_state) {} | 52 bool should_restore_state) {} |
| 53 virtual void FocusToolbar() {} | 53 virtual void FocusToolbar() {} |
| 54 virtual void ShowPageMenu() {} | 54 virtual void ShowPageMenu() {} |
| 55 virtual void ShowAppMenu() {} | 55 virtual void ShowAppMenu() {} |
| 56 virtual int GetCommandId(const NativeWebKeyboardEvent& event) { return -1; } |
| 56 virtual bool IsBookmarkBarVisible() const { return false; } | 57 virtual bool IsBookmarkBarVisible() const { return false; } |
| 57 virtual gfx::Rect GetRootWindowResizerRect() const { return gfx::Rect(); } | 58 virtual gfx::Rect GetRootWindowResizerRect() const { return gfx::Rect(); } |
| 58 virtual void ConfirmAddSearchProvider(const TemplateURL* template_url, | 59 virtual void ConfirmAddSearchProvider(const TemplateURL* template_url, |
| 59 Profile* profile) {} | 60 Profile* profile) {} |
| 60 virtual void ToggleBookmarkBar() {} | 61 virtual void ToggleBookmarkBar() {} |
| 61 virtual void ToggleExtensionShelf() {} | 62 virtual void ToggleExtensionShelf() {} |
| 62 virtual void ShowAboutChromeDialog() {} | 63 virtual void ShowAboutChromeDialog() {} |
| 63 virtual void ShowTaskManager() {} | 64 virtual void ShowTaskManager() {} |
| 64 virtual void ShowBookmarkManager() {} | 65 virtual void ShowBookmarkManager() {} |
| 65 virtual void ShowBookmarkBubble(const GURL& url, bool already_bookmarked) {} | 66 virtual void ShowBookmarkBubble(const GURL& url, bool already_bookmarked) {} |
| (...skipping 24 matching lines...) Expand all Loading... |
| 90 | 91 |
| 91 private: | 92 private: |
| 92 TabStrip tab_strip_; | 93 TabStrip tab_strip_; |
| 93 | 94 |
| 94 TestLocationBar location_bar_; | 95 TestLocationBar location_bar_; |
| 95 | 96 |
| 96 DISALLOW_COPY_AND_ASSIGN(TestBrowserWindow); | 97 DISALLOW_COPY_AND_ASSIGN(TestBrowserWindow); |
| 97 }; | 98 }; |
| 98 | 99 |
| 99 #endif // CHROME_TEST_TEST_BROWSER_WINDOW_H_ | 100 #endif // CHROME_TEST_TEST_BROWSER_WINDOW_H_ |
| OLD | NEW |