Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(749)

Side by Side Diff: chrome/browser/ui/views/browser_dialogs.h

Issue 10699057: Move application creation and extension install prompt showing off Browser and onto ExtensionTabHel… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « chrome/browser/ui/panels/panel_browser_window.cc ('k') | chrome/browser/ui/views/extensions/extension_install_dialog_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698