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

Unified Diff: ui/base/dialogs/gtk/select_file_dialog_impl.h

Issue 10790083: shell dialogs: Move the linux implementations. (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 side-by-side diff with in-line comments
Download patch
Index: ui/base/dialogs/gtk/select_file_dialog_impl.h
diff --git a/chrome/browser/ui/gtk/select_file_dialog_impl.h b/ui/base/dialogs/gtk/select_file_dialog_impl.h
similarity index 88%
rename from chrome/browser/ui/gtk/select_file_dialog_impl.h
rename to ui/base/dialogs/gtk/select_file_dialog_impl.h
index a225da628ec8f10033d98de7a73a58411a43bce4..24a5061d138d1d207c40595c77bde4cf95b6fe74 100644
--- a/chrome/browser/ui/gtk/select_file_dialog_impl.h
+++ b/ui/base/dialogs/gtk/select_file_dialog_impl.h
@@ -4,14 +4,16 @@
//
// This file implements common select dialog functionality between GTK and KDE.
-#ifndef CHROME_BROWSER_UI_GTK_SELECT_FILE_DIALOG_IMPL_H_
-#define CHROME_BROWSER_UI_GTK_SELECT_FILE_DIALOG_IMPL_H_
+#ifndef UI_BASE_DIALOGS_GTK_SELECT_FILE_DIALOG_IMPL_H_
+#define UI_BASE_DIALOGS_GTK_SELECT_FILE_DIALOG_IMPL_H_
#include <set>
#include "base/compiler_specific.h"
#include "base/nix/xdg_util.h"
-#include "chrome/browser/ui/select_file_dialog.h"
+#include "ui/base/dialogs/select_file_dialog.h"
+
+namespace ui {
// Shared implementation SelectFileDialog used by SelectFileDialogImplGTK
class SelectFileDialogImpl : public SelectFileDialog {
@@ -77,4 +79,10 @@ class SelectFileDialogImpl : public SelectFileDialog {
DISALLOW_COPY_AND_ASSIGN(SelectFileDialogImpl);
};
-#endif // CHROME_BROWSER_UI_GTK_SELECT_FILE_DIALOG_IMPL_H_
+SelectFileDialog* CreateLinuxSelectFileDialog(
+ SelectFileDialog::Listener* listener,
+ SelectFilePolicy* policy);
+
+} // namespace ui
+
+#endif // UI_BASE_DIALOGS_GTK_SELECT_FILE_DIALOG_IMPL_H_

Powered by Google App Engine
This is Rietveld 408576698