feat: implement File System API support (#41419)
This commit is contained in:
parent
41ba963392
commit
344aba0838
23 changed files with 1562 additions and 9 deletions
|
@ -8,6 +8,7 @@
|
|||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "shell/common/gin_converters/file_path_converter.h"
|
||||
#include "ui/base/clipboard/clipboard.h"
|
||||
#include "ui/gfx/image/image.h"
|
||||
#include "v8/include/v8.h"
|
||||
|
@ -63,6 +64,8 @@ class Clipboard {
|
|||
static void WriteBuffer(const std::string& format_string,
|
||||
const v8::Local<v8::Value> buffer,
|
||||
gin_helper::Arguments* args);
|
||||
|
||||
static void WriteFilesForTesting(const std::vector<base::FilePath>& files);
|
||||
};
|
||||
|
||||
} // namespace electron::api
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue