#include "ui/shell_dialogs/shell_dialog_linux.h"
#include "base/environment.h"
#include "base/no_destructor.h"
#include "base/notreached.h"
#include "build/chromeos_buildflags.h"
#include "ui/linux/linux_ui.h"
#include "ui/shell_dialogs/select_file_dialog_linux.h"
#include "ui/shell_dialogs/select_file_dialog_linux_kde.h"
#include "ui/shell_dialogs/select_file_policy.h"
#if defined(USE_DBUS)
#include "ui/shell_dialogs/select_file_dialog_linux_portal.h"
#endif
namespace shell_dialog_linux {
void Initialize() { … }
void Finalize() { … }
}
namespace ui {
namespace {
enum FileDialogChoice { … };
FileDialogChoice dialog_choice_ = …;
std::string& KDialogVersion() { … }
FileDialogChoice GetFileDialogChoice() { … }
}
SelectFileDialog* CreateSelectFileDialog(
SelectFileDialog::Listener* listener,
std::unique_ptr<SelectFilePolicy> policy) { … }
}