OLD | NEW |
1 // Copyright (c) 2010 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_H_ | 5 #ifndef CHROME_BROWSER_UI_BROWSER_H_ |
6 #define CHROME_BROWSER_UI_BROWSER_H_ | 6 #define CHROME_BROWSER_UI_BROWSER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 #include <set> | 10 #include <set> |
11 #include <string> | 11 #include <string> |
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
270 // Opens a new window and opens the bookmark manager. | 270 // Opens a new window and opens the bookmark manager. |
271 static void OpenBookmarkManagerWindow(Profile* profile); | 271 static void OpenBookmarkManagerWindow(Profile* profile); |
272 | 272 |
273 #if defined(OS_MACOSX) | 273 #if defined(OS_MACOSX) |
274 // Open a new window with history/downloads/help/options (needed on Mac when | 274 // Open a new window with history/downloads/help/options (needed on Mac when |
275 // there are no windows). | 275 // there are no windows). |
276 static void OpenHistoryWindow(Profile* profile); | 276 static void OpenHistoryWindow(Profile* profile); |
277 static void OpenDownloadsWindow(Profile* profile); | 277 static void OpenDownloadsWindow(Profile* profile); |
278 static void OpenHelpWindow(Profile* profile); | 278 static void OpenHelpWindow(Profile* profile); |
279 static void OpenOptionsWindow(Profile* profile); | 279 static void OpenOptionsWindow(Profile* profile); |
| 280 static void OpenClearBrowingDataDialogWindow(Profile* profile); |
| 281 static void OpenImportSettingsDialogWindow(Profile* profile); |
280 #endif | 282 #endif |
281 | 283 |
282 // Opens a window with the extensions tab in it - needed by long-lived | 284 // Opens a window with the extensions tab in it - needed by long-lived |
283 // extensions which may run with no windows open. | 285 // extensions which may run with no windows open. |
284 static void OpenExtensionsWindow(Profile* profile); | 286 static void OpenExtensionsWindow(Profile* profile); |
285 | 287 |
286 // State Storage and Retrieval for UI /////////////////////////////////////// | 288 // State Storage and Retrieval for UI /////////////////////////////////////// |
287 | 289 |
288 // Save and restore the window position. | 290 // Save and restore the window position. |
289 std::string GetWindowPlacementKey() const; | 291 std::string GetWindowPlacementKey() const; |
(...skipping 848 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1138 // and we install ourselves as an observer. | 1140 // and we install ourselves as an observer. |
1139 TabRestoreService* tab_restore_service_; | 1141 TabRestoreService* tab_restore_service_; |
1140 | 1142 |
1141 scoped_ptr<InstantController> instant_; | 1143 scoped_ptr<InstantController> instant_; |
1142 scoped_ptr<InstantUnloadHandler> instant_unload_handler_; | 1144 scoped_ptr<InstantUnloadHandler> instant_unload_handler_; |
1143 | 1145 |
1144 DISALLOW_COPY_AND_ASSIGN(Browser); | 1146 DISALLOW_COPY_AND_ASSIGN(Browser); |
1145 }; | 1147 }; |
1146 | 1148 |
1147 #endif // CHROME_BROWSER_UI_BROWSER_H_ | 1149 #endif // CHROME_BROWSER_UI_BROWSER_H_ |
OLD | NEW |