| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "chrome/browser/browser.h" | 9 #include "chrome/browser/browser.h" |
| 10 #include "chrome/browser/browser_window.h" | 10 #include "chrome/browser/browser_window.h" |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 } | 59 } |
| 60 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event) {} | 60 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event) {} |
| 61 virtual void ShowCreateShortcutsDialog(TabContents* tab_contents) {} | 61 virtual void ShowCreateShortcutsDialog(TabContents* tab_contents) {} |
| 62 #if defined(TOOLKIT_VIEWS) | 62 #if defined(TOOLKIT_VIEWS) |
| 63 virtual void ToggleCompactNavigationBar() {} | 63 virtual void ToggleCompactNavigationBar() {} |
| 64 #endif // defined(TOOLKIT_VIEWS) | 64 #endif // defined(TOOLKIT_VIEWS) |
| 65 | 65 |
| 66 virtual bool IsBookmarkBarVisible() const { return false; } | 66 virtual bool IsBookmarkBarVisible() const { return false; } |
| 67 virtual bool IsBookmarkBarAnimating() const { return false; } | 67 virtual bool IsBookmarkBarAnimating() const { return false; } |
| 68 virtual bool IsToolbarVisible() const { return false; } | 68 virtual bool IsToolbarVisible() const { return false; } |
| 69 virtual gfx::Rect GetRootWindowResizerRect() const { return gfx::Rect(); } | |
| 70 virtual void ConfirmAddSearchProvider(const TemplateURL* template_url, | 69 virtual void ConfirmAddSearchProvider(const TemplateURL* template_url, |
| 71 Profile* profile) {} | 70 Profile* profile) {} |
| 72 virtual void ToggleBookmarkBar() {} | 71 virtual void ToggleBookmarkBar() {} |
| 73 virtual views::Window* ShowAboutChromeDialog() { return NULL; } | 72 virtual views::Window* ShowAboutChromeDialog() { return NULL; } |
| 74 virtual void ShowUpdateChromeDialog() {} | 73 virtual void ShowUpdateChromeDialog() {} |
| 75 virtual void ShowTaskManager() {} | 74 virtual void ShowTaskManager() {} |
| 76 virtual void ShowBookmarkManager() {} | 75 virtual void ShowBookmarkManager() {} |
| 77 virtual void ShowBookmarkBubble(const GURL& url, bool already_bookmarked) {} | 76 virtual void ShowBookmarkBubble(const GURL& url, bool already_bookmarked) {} |
| 78 virtual bool IsDownloadShelfVisible() const { return false; } | 77 virtual bool IsDownloadShelfVisible() const { return false; } |
| 79 virtual DownloadShelf* GetDownloadShelf() { return NULL; } | 78 virtual DownloadShelf* GetDownloadShelf() { return NULL; } |
| (...skipping 30 matching lines...) Expand all Loading... |
| 110 protected: | 109 protected: |
| 111 virtual void DestroyBrowser() {} | 110 virtual void DestroyBrowser() {} |
| 112 | 111 |
| 113 private: | 112 private: |
| 114 TestLocationBar location_bar_; | 113 TestLocationBar location_bar_; |
| 115 | 114 |
| 116 DISALLOW_COPY_AND_ASSIGN(TestBrowserWindow); | 115 DISALLOW_COPY_AND_ASSIGN(TestBrowserWindow); |
| 117 }; | 116 }; |
| 118 | 117 |
| 119 #endif // CHROME_TEST_TEST_BROWSER_WINDOW_H_ | 118 #endif // CHROME_TEST_TEST_BROWSER_WINDOW_H_ |
| OLD | NEW |