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_ |