refactor: implement ipcRenderer.sendTo in native code for better performance (#14285)
This commit is contained in:
parent
e6e3ccfc50
commit
c23e7fa101
7 changed files with 54 additions and 25 deletions
|
@ -22,6 +22,12 @@ base::ListValue SendSync(mate::Arguments* args,
|
|||
const std::string& channel,
|
||||
const base::ListValue& arguments);
|
||||
|
||||
void SendTo(mate::Arguments* args,
|
||||
bool send_to_all,
|
||||
int32_t web_contents_id,
|
||||
const base::string16& channel,
|
||||
const base::ListValue& arguments);
|
||||
|
||||
void Initialize(v8::Local<v8::Object> exports,
|
||||
v8::Local<v8::Value> unused,
|
||||
v8::Local<v8::Context> context,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue