| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_VIEWS_BROWSER_DIALOGS_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_BROWSER_DIALOGS_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_BROWSER_DIALOGS_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_BROWSER_DIALOGS_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "chrome/common/content_settings_types.h" | 11 #include "chrome/common/content_settings_types.h" |
| 12 #include "gfx/native_widget_types.h" | 12 #include "ui/gfx/native_widget_types.h" |
| 13 | 13 |
| 14 // This file contains functions for running a variety of browser dialogs and | 14 // This file contains functions for running a variety of browser dialogs and |
| 15 // popups. The dialogs here are the ones that the caller does not need to | 15 // popups. The dialogs here are the ones that the caller does not need to |
| 16 // access the class of the popup. It allows us to break dependencies by | 16 // access the class of the popup. It allows us to break dependencies by |
| 17 // allowing the callers to not depend on the classes implementing the dialogs. | 17 // allowing the callers to not depend on the classes implementing the dialogs. |
| 18 // TODO: Make as many of these methods as possible cross platform, and move them | 18 // TODO: Make as many of these methods as possible cross platform, and move them |
| 19 // into chrome/browser/ui/browser_dialogs.h. | 19 // into chrome/browser/ui/browser_dialogs.h. |
| 20 | 20 |
| 21 class Browser; | 21 class Browser; |
| 22 class BrowserView; | 22 class BrowserView; |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 TabContents* tab_contents); | 119 TabContents* tab_contents); |
| 120 | 120 |
| 121 // Shows the create chrome app shortcut dialog box. | 121 // Shows the create chrome app shortcut dialog box. |
| 122 void ShowCreateChromeAppShortcutsDialog(gfx::NativeWindow parent_window, | 122 void ShowCreateChromeAppShortcutsDialog(gfx::NativeWindow parent_window, |
| 123 Profile* profile, | 123 Profile* profile, |
| 124 const Extension* app); | 124 const Extension* app); |
| 125 | 125 |
| 126 } // namespace browser | 126 } // namespace browser |
| 127 | 127 |
| 128 #endif // CHROME_BROWSER_UI_VIEWS_BROWSER_DIALOGS_H_ | 128 #endif // CHROME_BROWSER_UI_VIEWS_BROWSER_DIALOGS_H_ |
| OLD | NEW |