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

Unified Diff: chrome/browser/ui/gtk/create_application_shortcuts_dialog_gtk.cc

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, 6 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/gtk/create_application_shortcuts_dialog_gtk.cc
===================================================================
--- chrome/browser/ui/gtk/create_application_shortcuts_dialog_gtk.cc (revision 145357)
+++ chrome/browser/ui/gtk/create_application_shortcuts_dialog_gtk.cc (working copy)
@@ -14,6 +14,7 @@
#include "chrome/browser/shell_integration_linux.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/browser_commands.h"
+#include "chrome/browser/ui/browser_dialogs.h"
#include "chrome/browser/ui/browser_finder.h"
#include "chrome/browser/ui/gtk/gtk_util.h"
#include "chrome/browser/ui/tab_contents/tab_contents.h"
@@ -47,12 +48,15 @@
} // namespace
-// static
-void CreateWebApplicationShortcutsDialogGtk::Show(
- GtkWindow* parent, TabContents* tab_contents) {
- new CreateWebApplicationShortcutsDialogGtk(parent, tab_contents);
+namespace chrome {
+
+void ShowCreateWebAppShortcutsDialog(gfx::NativeWindow parent_window,
+ TabContents* tab_contents) {
+ new CreateWebApplicationShortcutsDialogGtk(parent_window, tab_contents);
}
+} // namespace chrome
+
void CreateChromeApplicationShortcutsDialogGtk::Show(GtkWindow* parent,
Profile* profile,
const Extension* app) {
« no previous file with comments | « chrome/browser/ui/gtk/browser_window_gtk.cc ('k') | chrome/browser/ui/gtk/extensions/extension_install_dialog_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698