#include "chrome/browser/ui/views/file_system_access/file_system_access_test_utils.h"
#include "ui/shell_dialogs/selected_file_info.h"
#include "url/gurl.h"
SelectPredeterminedFileDialog::SelectPredeterminedFileDialog(
std::vector<base::FilePath> result,
Listener* listener,
std::unique_ptr<ui::SelectFilePolicy> policy)
: … { … }
SelectPredeterminedFileDialog::~SelectPredeterminedFileDialog() = default;
void SelectPredeterminedFileDialog::SelectFileImpl(
Type type,
const std::u16string& title,
const base::FilePath& default_path,
const FileTypeInfo* file_types,
int file_type_index,
const base::FilePath::StringType& default_extension,
gfx::NativeWindow owning_window,
const GURL* caller) { … }
bool SelectPredeterminedFileDialog::IsRunning(
gfx::NativeWindow owning_window) const { … }
void SelectPredeterminedFileDialog::ListenerDestroyed() { … }
bool SelectPredeterminedFileDialog::HasMultipleFileTypeChoicesImpl() { … }
SelectPredeterminedFileDialogFactory::SelectPredeterminedFileDialogFactory(
std::vector<base::FilePath> result)
: … { … }
SelectPredeterminedFileDialogFactory::~SelectPredeterminedFileDialogFactory() =
default;
ui::SelectFileDialog* SelectPredeterminedFileDialogFactory::Create(
ui::SelectFileDialog::Listener* listener,
std::unique_ptr<ui::SelectFilePolicy> policy) { … }