OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_BROWSER_UI_BROWSER_WINDOW_H_ | 5 #ifndef CHROME_BROWSER_UI_BROWSER_WINDOW_H_ |
6 #define CHROME_BROWSER_UI_BROWSER_WINDOW_H_ | 6 #define CHROME_BROWSER_UI_BROWSER_WINDOW_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "chrome/browser/ui/bookmarks/bookmark_bar.h" | 9 #include "chrome/browser/ui/bookmarks/bookmark_bar.h" |
10 #include "chrome/common/content_settings_types.h" | 10 #include "chrome/common/content_settings_types.h" |
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
227 // Whether or not the shelf view is visible. | 227 // Whether or not the shelf view is visible. |
228 virtual bool IsDownloadShelfVisible() const = 0; | 228 virtual bool IsDownloadShelfVisible() const = 0; |
229 | 229 |
230 // Returns the DownloadShelf. | 230 // Returns the DownloadShelf. |
231 virtual DownloadShelf* GetDownloadShelf() = 0; | 231 virtual DownloadShelf* GetDownloadShelf() = 0; |
232 | 232 |
233 // Shows the repost form confirmation dialog box. | 233 // Shows the repost form confirmation dialog box. |
234 virtual void ShowRepostFormWarningDialog(TabContents* tab_contents) = 0; | 234 virtual void ShowRepostFormWarningDialog(TabContents* tab_contents) = 0; |
235 | 235 |
236 // Shows the collected cookies dialog box. | 236 // Shows the collected cookies dialog box. |
237 virtual void ShowCollectedCookiesDialog(TabContents* tab_contents) = 0; | 237 virtual void ShowCollectedCookiesDialog(TabContentsWrapper* tab_contents) = 0; |
238 | 238 |
239 // Show the bubble that indicates to the user that a theme is being installed. | 239 // Show the bubble that indicates to the user that a theme is being installed. |
240 virtual void ShowThemeInstallBubble() = 0; | 240 virtual void ShowThemeInstallBubble() = 0; |
241 | 241 |
242 // Shows the confirmation dialog box warning that the browser is closing with | 242 // Shows the confirmation dialog box warning that the browser is closing with |
243 // in-progress downloads. | 243 // in-progress downloads. |
244 // This method should call Browser::InProgressDownloadResponse once the user | 244 // This method should call Browser::InProgressDownloadResponse once the user |
245 // has confirmed. | 245 // has confirmed. |
246 virtual void ConfirmBrowserCloseWithPendingDownloads() = 0; | 246 virtual void ConfirmBrowserCloseWithPendingDownloads() = 0; |
247 | 247 |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
381 | 381 |
382 // Returns the ToolbarView. | 382 // Returns the ToolbarView. |
383 virtual ToolbarView* GetToolbarView() const = 0; | 383 virtual ToolbarView* GetToolbarView() const = 0; |
384 #endif | 384 #endif |
385 | 385 |
386 protected: | 386 protected: |
387 virtual ~BrowserWindowTesting() {} | 387 virtual ~BrowserWindowTesting() {} |
388 }; | 388 }; |
389 | 389 |
390 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ | 390 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ |
OLD | NEW |