| 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/browser/ui/fullscreen_exit_bubble_type.h" | 10 #include "chrome/browser/ui/fullscreen_exit_bubble_type.h" |
| (...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 232 // Shows the Bookmark bubble. |url| is the URL being bookmarked, | 232 // Shows the Bookmark bubble. |url| is the URL being bookmarked, |
| 233 // |already_bookmarked| is true if the url is already bookmarked. | 233 // |already_bookmarked| is true if the url is already bookmarked. |
| 234 virtual void ShowBookmarkBubble(const GURL& url, bool already_bookmarked) = 0; | 234 virtual void ShowBookmarkBubble(const GURL& url, bool already_bookmarked) = 0; |
| 235 | 235 |
| 236 // Whether or not the shelf view is visible. | 236 // Whether or not the shelf view is visible. |
| 237 virtual bool IsDownloadShelfVisible() const = 0; | 237 virtual bool IsDownloadShelfVisible() const = 0; |
| 238 | 238 |
| 239 // Returns the DownloadShelf. | 239 // Returns the DownloadShelf. |
| 240 virtual DownloadShelf* GetDownloadShelf() = 0; | 240 virtual DownloadShelf* GetDownloadShelf() = 0; |
| 241 | 241 |
| 242 // Shows the repost form confirmation dialog box. | |
| 243 virtual void ShowRepostFormWarningDialog(TabContents* tab_contents) = 0; | |
| 244 | |
| 245 // Shows the collected cookies dialog box. | 242 // Shows the collected cookies dialog box. |
| 246 virtual void ShowCollectedCookiesDialog(TabContentsWrapper* tab_contents) = 0; | 243 virtual void ShowCollectedCookiesDialog(TabContentsWrapper* tab_contents) = 0; |
| 247 | 244 |
| 248 // Shows the confirmation dialog box warning that the browser is closing with | 245 // Shows the confirmation dialog box warning that the browser is closing with |
| 249 // in-progress downloads. | 246 // in-progress downloads. |
| 250 // This method should call Browser::InProgressDownloadResponse once the user | 247 // This method should call Browser::InProgressDownloadResponse once the user |
| 251 // has confirmed. | 248 // has confirmed. |
| 252 virtual void ConfirmBrowserCloseWithPendingDownloads() = 0; | 249 virtual void ConfirmBrowserCloseWithPendingDownloads() = 0; |
| 253 | 250 |
| 254 // ThemeService calls this when a user has changed his or her theme, | 251 // ThemeService calls this when a user has changed his or her theme, |
| (...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 394 | 391 |
| 395 // Returns the ToolbarView. | 392 // Returns the ToolbarView. |
| 396 virtual ToolbarView* GetToolbarView() const = 0; | 393 virtual ToolbarView* GetToolbarView() const = 0; |
| 397 #endif | 394 #endif |
| 398 | 395 |
| 399 protected: | 396 protected: |
| 400 virtual ~BrowserWindowTesting() {} | 397 virtual ~BrowserWindowTesting() {} |
| 401 }; | 398 }; |
| 402 | 399 |
| 403 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ | 400 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ |
| OLD | NEW |