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 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
236 | 236 |
237 // Returns the DownloadShelf. | 237 // Returns the DownloadShelf. |
238 virtual DownloadShelf* GetDownloadShelf() = 0; | 238 virtual DownloadShelf* GetDownloadShelf() = 0; |
239 | 239 |
240 // Shows the repost form confirmation dialog box. | 240 // Shows the repost form confirmation dialog box. |
241 virtual void ShowRepostFormWarningDialog(TabContents* tab_contents) = 0; | 241 virtual void ShowRepostFormWarningDialog(TabContents* tab_contents) = 0; |
242 | 242 |
243 // Shows the collected cookies dialog box. | 243 // Shows the collected cookies dialog box. |
244 virtual void ShowCollectedCookiesDialog(TabContentsWrapper* tab_contents) = 0; | 244 virtual void ShowCollectedCookiesDialog(TabContentsWrapper* tab_contents) = 0; |
245 | 245 |
246 // Show the bubble that indicates to the user that a theme is being installed. | |
247 virtual void ShowThemeInstallBubble() = 0; | |
248 | |
249 // Shows the confirmation dialog box warning that the browser is closing with | 246 // Shows the confirmation dialog box warning that the browser is closing with |
250 // in-progress downloads. | 247 // in-progress downloads. |
251 // This method should call Browser::InProgressDownloadResponse once the user | 248 // This method should call Browser::InProgressDownloadResponse once the user |
252 // has confirmed. | 249 // has confirmed. |
253 virtual void ConfirmBrowserCloseWithPendingDownloads() = 0; | 250 virtual void ConfirmBrowserCloseWithPendingDownloads() = 0; |
254 | 251 |
255 // ThemeService calls this when a user has changed his or her theme, | 252 // ThemeService calls this when a user has changed his or her theme, |
256 // indicating that it's time to redraw everything. | 253 // indicating that it's time to redraw everything. |
257 virtual void UserChangedTheme() = 0; | 254 virtual void UserChangedTheme() = 0; |
258 | 255 |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
392 | 389 |
393 // Returns the ToolbarView. | 390 // Returns the ToolbarView. |
394 virtual ToolbarView* GetToolbarView() const = 0; | 391 virtual ToolbarView* GetToolbarView() const = 0; |
395 #endif | 392 #endif |
396 | 393 |
397 protected: | 394 protected: |
398 virtual ~BrowserWindowTesting() {} | 395 virtual ~BrowserWindowTesting() {} |
399 }; | 396 }; |
400 | 397 |
401 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ | 398 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ |
OLD | NEW |