Merge pull request #6490 from wilsonpage/add-drop-text-support

Add support for dropped text in osx
This commit is contained in:
Cheng Zhao 2016-07-15 09:12:35 +09:00 committed by GitHub
commit 16e43a7f15
7 changed files with 27 additions and 1 deletions

View file

@ -76,6 +76,10 @@ void Tray::OnDropFiles(const std::vector<std::string>& files) {
Emit("drop-files", files);
}
void Tray::OnDropText(const std::string& text) {
Emit("drop-text", text);
}
void Tray::OnDragEntered() {
Emit("drag-enter");
}