OLD | NEW |
---|---|
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2009 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_BROWSER_WINDOW_H_ | 5 #ifndef CHROME_BROWSER_BROWSER_WINDOW_H_ |
6 #define CHROME_BROWSER_BROWSER_WINDOW_H_ | 6 #define CHROME_BROWSER_BROWSER_WINDOW_H_ |
7 | 7 |
8 #include "app/gfx/native_widget_types.h" | 8 #include "app/gfx/native_widget_types.h" |
9 #include "chrome/browser/tab_contents/navigation_entry.h" | 9 #include "chrome/browser/tab_contents/navigation_entry.h" |
10 | 10 |
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
198 | 198 |
199 // Shows the Select Profile dialog box. | 199 // Shows the Select Profile dialog box. |
200 virtual void ShowSelectProfileDialog() = 0; | 200 virtual void ShowSelectProfileDialog() = 0; |
201 | 201 |
202 // Shows the New Profile dialog box. | 202 // Shows the New Profile dialog box. |
203 virtual void ShowNewProfileDialog() = 0; | 203 virtual void ShowNewProfileDialog() = 0; |
204 | 204 |
205 // Shows the repost form confirmation dialog box. | 205 // Shows the repost form confirmation dialog box. |
206 virtual void ShowRepostFormWarningDialog(TabContents* tab_contents) = 0; | 206 virtual void ShowRepostFormWarningDialog(TabContents* tab_contents) = 0; |
207 | 207 |
208 // Shows a dialog to the user that the history is too new. | 208 // Shows a dialog to the user that something is wrong with the profile. |
brettw
2009/10/30 21:52:43
Can you document the parameter here?
| |
209 virtual void ShowHistoryTooNewDialog() = 0; | 209 virtual void ShowProfileErrorDialog(int message) = 0; |
210 | 210 |
211 // Show the bubble that indicates to the user that a theme is being installed. | 211 // Show the bubble that indicates to the user that a theme is being installed. |
212 virtual void ShowThemeInstallBubble() = 0; | 212 virtual void ShowThemeInstallBubble() = 0; |
213 | 213 |
214 // Shows the confirmation dialog box warning that the browser is closing with | 214 // Shows the confirmation dialog box warning that the browser is closing with |
215 // in-progress downloads. | 215 // in-progress downloads. |
216 // This method should call Browser::InProgressDownloadResponse once the user | 216 // This method should call Browser::InProgressDownloadResponse once the user |
217 // has confirmed. | 217 // has confirmed. |
218 virtual void ConfirmBrowserCloseWithPendingDownloads() = 0; | 218 virtual void ConfirmBrowserCloseWithPendingDownloads() = 0; |
219 | 219 |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
302 | 302 |
303 // Returns the TabContentsContainer. | 303 // Returns the TabContentsContainer. |
304 virtual views::View* GetTabContentsContainerView() const = 0; | 304 virtual views::View* GetTabContentsContainerView() const = 0; |
305 | 305 |
306 // Returns the ToolbarView. | 306 // Returns the ToolbarView. |
307 virtual ToolbarView* GetToolbarView() const = 0; | 307 virtual ToolbarView* GetToolbarView() const = 0; |
308 #endif | 308 #endif |
309 }; | 309 }; |
310 | 310 |
311 #endif // CHROME_BROWSER_BROWSER_WINDOW_H_ | 311 #endif // CHROME_BROWSER_BROWSER_WINDOW_H_ |
OLD | NEW |