OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_BASE_TEST_BROWSER_WINDOW_H_ | 5 #ifndef CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ |
6 #define CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ | 6 #define CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 virtual void ToggleBookmarkBar() OVERRIDE {} | 87 virtual void ToggleBookmarkBar() OVERRIDE {} |
88 virtual void ShowAboutChromeDialog() OVERRIDE; | 88 virtual void ShowAboutChromeDialog() OVERRIDE; |
89 virtual void ShowUpdateChromeDialog() OVERRIDE {} | 89 virtual void ShowUpdateChromeDialog() OVERRIDE {} |
90 virtual void ShowTaskManager() OVERRIDE {} | 90 virtual void ShowTaskManager() OVERRIDE {} |
91 virtual void ShowBackgroundPages() OVERRIDE {} | 91 virtual void ShowBackgroundPages() OVERRIDE {} |
92 virtual void ShowBookmarkBubble(const GURL& url, | 92 virtual void ShowBookmarkBubble(const GURL& url, |
93 bool already_bookmarked) OVERRIDE {} | 93 bool already_bookmarked) OVERRIDE {} |
94 virtual void ShowChromeToMobileBubble() OVERRIDE {} | 94 virtual void ShowChromeToMobileBubble() OVERRIDE {} |
95 #if defined(ENABLE_ONE_CLICK_SIGNIN) | 95 #if defined(ENABLE_ONE_CLICK_SIGNIN) |
96 virtual void ShowOneClickSigninBubble( | 96 virtual void ShowOneClickSigninBubble( |
97 const base::Closure& learn_more_callback, | 97 const base::Callback<void(bool)>& start_sync_callback) OVERRIDE {} |
98 const base::Closure& advanced_callback) OVERRIDE {} | |
99 #endif | 98 #endif |
100 virtual bool IsDownloadShelfVisible() const OVERRIDE; | 99 virtual bool IsDownloadShelfVisible() const OVERRIDE; |
101 virtual DownloadShelf* GetDownloadShelf() OVERRIDE; | 100 virtual DownloadShelf* GetDownloadShelf() OVERRIDE; |
102 virtual void ConfirmBrowserCloseWithPendingDownloads() OVERRIDE {} | 101 virtual void ConfirmBrowserCloseWithPendingDownloads() OVERRIDE {} |
103 virtual void UserChangedTheme() OVERRIDE {} | 102 virtual void UserChangedTheme() OVERRIDE {} |
104 virtual int GetExtraRenderViewHeight() const OVERRIDE; | 103 virtual int GetExtraRenderViewHeight() const OVERRIDE; |
105 virtual void WebContentsFocused(content::WebContents* contents) OVERRIDE {} | 104 virtual void WebContentsFocused(content::WebContents* contents) OVERRIDE {} |
106 virtual void ShowPageInfo(Profile* profile, | 105 virtual void ShowPageInfo(Profile* profile, |
107 const GURL& url, | 106 const GURL& url, |
108 const content::SSLStatus& ssl, | 107 const content::SSLStatus& ssl, |
(...skipping 28 matching lines...) Expand all Loading... |
137 protected: | 136 protected: |
138 virtual void DestroyBrowser() OVERRIDE {} | 137 virtual void DestroyBrowser() OVERRIDE {} |
139 | 138 |
140 private: | 139 private: |
141 TestLocationBar location_bar_; | 140 TestLocationBar location_bar_; |
142 | 141 |
143 DISALLOW_COPY_AND_ASSIGN(TestBrowserWindow); | 142 DISALLOW_COPY_AND_ASSIGN(TestBrowserWindow); |
144 }; | 143 }; |
145 | 144 |
146 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ | 145 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ |
OLD | NEW |