#include "third_party/blink/renderer/core/html/forms/file_chooser.h"
#include <utility>
#include "mojo/public/cpp/bindings/remote.h"
#include "third_party/blink/public/platform/browser_interface_broker_proxy.h"
#include "third_party/blink/public/platform/file_path_conversion.h"
#include "third_party/blink/public/platform/task_type.h"
#include "third_party/blink/renderer/core/frame/local_frame.h"
#include "third_party/blink/renderer/core/page/chrome_client_impl.h"
#include "third_party/blink/renderer/platform/wtf/functional.h"
namespace blink {
FileChooserFileInfo;
FileChooserFileInfoPtr;
NativeFileInfo;
FileChooserClient::~FileChooserClient() = default;
FileChooser* FileChooserClient::NewFileChooser(
const mojom::blink::FileChooserParams& params) { … }
void FileChooserClient::DisconnectFileChooser() { … }
inline FileChooser::FileChooser(FileChooserClient* client,
const mojom::blink::FileChooserParams& params)
: … { … }
scoped_refptr<FileChooser> FileChooser::Create(
FileChooserClient* client,
const mojom::blink::FileChooserParams& params) { … }
FileChooser::~FileChooser() = default;
bool FileChooser::OpenFileChooser(ChromeClientImpl& chrome_client_impl) { … }
void FileChooser::EnumerateChosenDirectory() { … }
void FileChooser::DidChooseFiles(mojom::blink::FileChooserResultPtr result) { … }
void FileChooser::DidCloseChooser() { … }
FileChooserFileInfoPtr CreateFileChooserFileInfoNative(
const String& path,
const String& display_name) { … }
FileChooserFileInfoPtr CreateFileChooserFileInfoFileSystem(
const KURL& url,
base::Time modification_time,
int64_t length) { … }
}