| 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_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 |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 // Shows a dialog box that allows a search engine to be edited. |template_url| | 75 // Shows a dialog box that allows a search engine to be edited. |template_url| |
| 76 // is the search engine being edited. If it is NULL, then the dialog will add a | 76 // is the search engine being edited. If it is NULL, then the dialog will add a |
| 77 // new search engine with the data the user supplies. |delegate| is an object | 77 // new search engine with the data the user supplies. |delegate| is an object |
| 78 // to be notified when the user is done editing, or NULL. If NULL, the dialog | 78 // to be notified when the user is done editing, or NULL. If NULL, the dialog |
| 79 // will update the model with the user's edits directly. | 79 // will update the model with the user's edits directly. |
| 80 void EditSearchEngine(gfx::NativeWindow parent, | 80 void EditSearchEngine(gfx::NativeWindow parent, |
| 81 const TemplateURL* template_url, | 81 const TemplateURL* template_url, |
| 82 EditSearchEngineControllerDelegate* delegate, | 82 EditSearchEngineControllerDelegate* delegate, |
| 83 Profile* profile); | 83 Profile* profile); |
| 84 | 84 |
| 85 // Shows the repost form confirmation dialog box. | |
| 86 void ShowRepostFormWarningDialog(gfx::NativeWindow parent_window, | |
| 87 TabContents* tab_contents); | |
| 88 | |
| 89 // Shows the collected cookies dialog box. | 85 // Shows the collected cookies dialog box. |
| 90 void ShowCollectedCookiesDialog(gfx::NativeWindow parent_window, | 86 void ShowCollectedCookiesDialog(gfx::NativeWindow parent_window, |
| 91 TabContentsWrapper* tab_contents); | 87 TabContentsWrapper* tab_contents); |
| 92 | 88 |
| 93 | |
| 94 // Shows the create web app shortcut dialog box. | 89 // Shows the create web app shortcut dialog box. |
| 95 void ShowCreateWebAppShortcutsDialog(gfx::NativeWindow parent_window, | 90 void ShowCreateWebAppShortcutsDialog(gfx::NativeWindow parent_window, |
| 96 TabContentsWrapper* tab_contents); | 91 TabContentsWrapper* tab_contents); |
| 97 | 92 |
| 98 // Shows the create chrome app shortcut dialog box. | 93 // Shows the create chrome app shortcut dialog box. |
| 99 void ShowCreateChromeAppShortcutsDialog(gfx::NativeWindow parent_window, | 94 void ShowCreateChromeAppShortcutsDialog(gfx::NativeWindow parent_window, |
| 100 Profile* profile, | 95 Profile* profile, |
| 101 const Extension* app); | 96 const Extension* app); |
| 102 | 97 |
| 103 } // namespace browser | 98 } // namespace browser |
| 104 | 99 |
| 105 #endif // CHROME_BROWSER_UI_VIEWS_BROWSER_DIALOGS_H_ | 100 #endif // CHROME_BROWSER_UI_VIEWS_BROWSER_DIALOGS_H_ |
| OLD | NEW |