| 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/common/content_settings_types.h" | 9 #include "chrome/common/content_settings_types.h" |
| 10 #include "content/browser/tab_contents/navigation_entry.h" | 10 #include "content/browser/tab_contents/navigation_entry.h" |
| (...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 221 | 221 |
| 222 // Whether or not the shelf view is visible. | 222 // Whether or not the shelf view is visible. |
| 223 virtual bool IsDownloadShelfVisible() const = 0; | 223 virtual bool IsDownloadShelfVisible() const = 0; |
| 224 | 224 |
| 225 // Returns the DownloadShelf. | 225 // Returns the DownloadShelf. |
| 226 virtual DownloadShelf* GetDownloadShelf() = 0; | 226 virtual DownloadShelf* GetDownloadShelf() = 0; |
| 227 | 227 |
| 228 // Shows the repost form confirmation dialog box. | 228 // Shows the repost form confirmation dialog box. |
| 229 virtual void ShowRepostFormWarningDialog(TabContents* tab_contents) = 0; | 229 virtual void ShowRepostFormWarningDialog(TabContents* tab_contents) = 0; |
| 230 | 230 |
| 231 // Shows the Content Settings dialog box. | |
| 232 virtual void ShowContentSettingsWindow(ContentSettingsType content_type, | |
| 233 Profile* profile) = 0; | |
| 234 | |
| 235 // Shows the collected cookies dialog box. | 231 // Shows the collected cookies dialog box. |
| 236 virtual void ShowCollectedCookiesDialog(TabContents* tab_contents) = 0; | 232 virtual void ShowCollectedCookiesDialog(TabContents* tab_contents) = 0; |
| 237 | 233 |
| 238 // Shows a dialog to the user that something is wrong with the profile. | 234 // Shows a dialog to the user that something is wrong with the profile. |
| 239 // |message_id| is the ID for a string in the string table which will be | 235 // |message_id| is the ID for a string in the string table which will be |
| 240 // displayed in the dialog. | 236 // displayed in the dialog. |
| 241 virtual void ShowProfileErrorDialog(int message_id) = 0; | 237 virtual void ShowProfileErrorDialog(int message_id) = 0; |
| 242 | 238 |
| 243 // 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. |
| 244 virtual void ShowThemeInstallBubble() = 0; | 240 virtual void ShowThemeInstallBubble() = 0; |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 375 | 371 |
| 376 // Returns the ToolbarView. | 372 // Returns the ToolbarView. |
| 377 virtual ToolbarView* GetToolbarView() const = 0; | 373 virtual ToolbarView* GetToolbarView() const = 0; |
| 378 #endif | 374 #endif |
| 379 | 375 |
| 380 protected: | 376 protected: |
| 381 virtual ~BrowserWindowTesting() {} | 377 virtual ~BrowserWindowTesting() {} |
| 382 }; | 378 }; |
| 383 | 379 |
| 384 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ | 380 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ |
| OLD | NEW |