| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "ui/gfx/native_widget_types.h" | 9 #include "ui/gfx/native_widget_types.h" |
| 10 | 10 |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 // Shows a dialog box that allows a search engine to be edited. |template_url| | 76 // Shows a dialog box that allows a search engine to be edited. |template_url| |
| 77 // is the search engine being edited. If it is NULL, then the dialog will add a | 77 // is the search engine being edited. If it is NULL, then the dialog will add a |
| 78 // new search engine with the data the user supplies. |delegate| is an object | 78 // new search engine with the data the user supplies. |delegate| is an object |
| 79 // to be notified when the user is done editing, or NULL. If NULL, the dialog | 79 // to be notified when the user is done editing, or NULL. If NULL, the dialog |
| 80 // will update the model with the user's edits directly. | 80 // will update the model with the user's edits directly. |
| 81 void EditSearchEngine(gfx::NativeWindow parent, | 81 void EditSearchEngine(gfx::NativeWindow parent, |
| 82 TemplateURL* template_url, | 82 TemplateURL* template_url, |
| 83 EditSearchEngineControllerDelegate* delegate, | 83 EditSearchEngineControllerDelegate* delegate, |
| 84 Profile* profile); | 84 Profile* profile); |
| 85 | 85 |
| 86 // Shows the create web app shortcut dialog box. | |
| 87 void ShowCreateWebAppShortcutsDialog(gfx::NativeWindow parent_window, | |
| 88 TabContents* tab_contents); | |
| 89 | |
| 90 // Shows the create chrome app shortcut dialog box. | 86 // Shows the create chrome app shortcut dialog box. |
| 91 void ShowCreateChromeAppShortcutsDialog(gfx::NativeWindow parent_window, | 87 void ShowCreateChromeAppShortcutsDialog(gfx::NativeWindow parent_window, |
| 92 Profile* profile, | 88 Profile* profile, |
| 93 const extensions::Extension* app); | 89 const extensions::Extension* app); |
| 94 | 90 |
| 95 } // namespace chrome | 91 } // namespace chrome |
| 96 | 92 |
| 97 #endif // CHROME_BROWSER_UI_VIEWS_BROWSER_DIALOGS_H_ | 93 #endif // CHROME_BROWSER_UI_VIEWS_BROWSER_DIALOGS_H_ |
| OLD | NEW |