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 | 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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 | 62 |
63 virtual bool IsBookmarkBarVisible() const { return false; } | 63 virtual bool IsBookmarkBarVisible() const { return false; } |
64 virtual bool IsBookmarkBarAnimating() const { return false; } | 64 virtual bool IsBookmarkBarAnimating() const { return false; } |
65 virtual bool IsToolbarVisible() const { return false; } | 65 virtual bool IsToolbarVisible() const { return false; } |
66 virtual gfx::Rect GetRootWindowResizerRect() const { return gfx::Rect(); } | 66 virtual gfx::Rect GetRootWindowResizerRect() const { return gfx::Rect(); } |
67 virtual void ConfirmAddSearchProvider(const TemplateURL* template_url, | 67 virtual void ConfirmAddSearchProvider(const TemplateURL* template_url, |
68 Profile* profile) {} | 68 Profile* profile) {} |
69 virtual void ToggleBookmarkBar() {} | 69 virtual void ToggleBookmarkBar() {} |
70 virtual void ToggleExtensionShelf() {} | 70 virtual void ToggleExtensionShelf() {} |
71 virtual views::Window* ShowAboutChromeDialog() { return NULL; } | 71 virtual views::Window* ShowAboutChromeDialog() { return NULL; } |
| 72 virtual void ShowUpdateChromeDialog() {} |
72 virtual void ShowTaskManager() {} | 73 virtual void ShowTaskManager() {} |
73 virtual void ShowBookmarkManager() {} | 74 virtual void ShowBookmarkManager() {} |
74 virtual void ShowBookmarkBubble(const GURL& url, bool already_bookmarked) {} | 75 virtual void ShowBookmarkBubble(const GURL& url, bool already_bookmarked) {} |
75 virtual bool IsDownloadShelfVisible() const { return false; } | 76 virtual bool IsDownloadShelfVisible() const { return false; } |
76 virtual DownloadShelf* GetDownloadShelf() { return NULL; } | 77 virtual DownloadShelf* GetDownloadShelf() { return NULL; } |
77 virtual void ShowReportBugDialog() {} | 78 virtual void ShowReportBugDialog() {} |
78 virtual void ShowClearBrowsingDataDialog() {} | 79 virtual void ShowClearBrowsingDataDialog() {} |
79 virtual void ShowImportDialog() {} | 80 virtual void ShowImportDialog() {} |
80 virtual void ShowSearchEnginesDialog() {} | 81 virtual void ShowSearchEnginesDialog() {} |
81 virtual void ShowPasswordManager() {} | 82 virtual void ShowPasswordManager() {} |
(...skipping 23 matching lines...) Expand all Loading... |
105 protected: | 106 protected: |
106 virtual void DestroyBrowser() {} | 107 virtual void DestroyBrowser() {} |
107 | 108 |
108 private: | 109 private: |
109 TestLocationBar location_bar_; | 110 TestLocationBar location_bar_; |
110 | 111 |
111 DISALLOW_COPY_AND_ASSIGN(TestBrowserWindow); | 112 DISALLOW_COPY_AND_ASSIGN(TestBrowserWindow); |
112 }; | 113 }; |
113 | 114 |
114 #endif // CHROME_TEST_TEST_BROWSER_WINDOW_H_ | 115 #endif // CHROME_TEST_TEST_BROWSER_WINDOW_H_ |
OLD | NEW |