| 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 "base/gfx/native_widget_types.h" | 8 #include "base/gfx/native_widget_types.h" |
| 9 | 9 |
| 10 class Browser; | 10 class Browser; |
| (...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 157 | 157 |
| 158 // Shows the Password Manager dialog box. | 158 // Shows the Password Manager dialog box. |
| 159 virtual void ShowPasswordManager() = 0; | 159 virtual void ShowPasswordManager() = 0; |
| 160 | 160 |
| 161 // Shows the Select Profile dialog box. | 161 // Shows the Select Profile dialog box. |
| 162 virtual void ShowSelectProfileDialog() = 0; | 162 virtual void ShowSelectProfileDialog() = 0; |
| 163 | 163 |
| 164 // Shows the New Profile dialog box. | 164 // Shows the New Profile dialog box. |
| 165 virtual void ShowNewProfileDialog() = 0; | 165 virtual void ShowNewProfileDialog() = 0; |
| 166 | 166 |
| 167 // Shows the confirmation dialog box warning that the browser is closing with |
| 168 // in-progress downloads. |
| 169 // This method should call Browser::InProgressDownloadResponse once the user |
| 170 // has confirmed. |
| 171 virtual void ConfirmBrowserCloseWithPendingDownloads() = 0; |
| 172 |
| 167 // Shows a dialog box with HTML content, e.g. for Gears. |parent_window| is | 173 // Shows a dialog box with HTML content, e.g. for Gears. |parent_window| is |
| 168 // the window the dialog should be opened modal to and is a native window | 174 // the window the dialog should be opened modal to and is a native window |
| 169 // handle. | 175 // handle. |
| 170 virtual void ShowHTMLDialog(HtmlDialogUIDelegate* delegate, | 176 virtual void ShowHTMLDialog(HtmlDialogUIDelegate* delegate, |
| 171 void* parent_window) = 0; | 177 void* parent_window) = 0; |
| 172 | 178 |
| 173 // Construct a BrowserWindow implementation for the specified |browser|. | 179 // Construct a BrowserWindow implementation for the specified |browser|. |
| 174 static BrowserWindow* CreateBrowserWindow(Browser* browser); | 180 static BrowserWindow* CreateBrowserWindow(Browser* browser); |
| 175 | 181 |
| 176 // Construct a FindBar implementation for the specified |browser|. | 182 // Construct a FindBar implementation for the specified |browser|. |
| (...skipping 15 matching lines...) Expand all Loading... |
| 192 #if defined(OS_WIN) | 198 #if defined(OS_WIN) |
| 193 // Returns the BookmarkBarView. | 199 // Returns the BookmarkBarView. |
| 194 virtual BookmarkBarView* GetBookmarkBarView() const = 0; | 200 virtual BookmarkBarView* GetBookmarkBarView() const = 0; |
| 195 | 201 |
| 196 // Returns the LocationBarView. | 202 // Returns the LocationBarView. |
| 197 virtual LocationBarView* GetLocationBarView() const = 0; | 203 virtual LocationBarView* GetLocationBarView() const = 0; |
| 198 #endif | 204 #endif |
| 199 }; | 205 }; |
| 200 | 206 |
| 201 #endif // CHROME_BROWSER_BROWSER_WINDOW_H_ | 207 #endif // CHROME_BROWSER_BROWSER_WINDOW_H_ |
| OLD | NEW |