Add clipboard.writeBuffer

This commit is contained in:
Ryohei Ikegami 2017-04-21 14:47:04 +09:00 committed by Kevin Sawicki
parent 6bcf3597c2
commit 66cc07d8e9
3 changed files with 24 additions and 0 deletions

View file

@ -49,6 +49,9 @@ class Clipboard {
static v8::Local<v8::Value> ReadBuffer(const std::string& format_string,
mate::Arguments* args);
static void WriteBuffer(const std::string& format_string,
const v8::Local<v8::Value> buffer,
mate::Arguments* args);
private:
DISALLOW_COPY_AND_ASSIGN(Clipboard);