Implement 'drop-files' tray event on OS X.
This commit is contained in:
parent
2cd6ad1a97
commit
d342c9a6df
7 changed files with 49 additions and 4 deletions
|
@ -64,6 +64,10 @@ void Tray::OnRightClicked(const gfx::Rect& bounds) {
|
|||
Emit("right-clicked", bounds);
|
||||
}
|
||||
|
||||
void Tray::OnDropFiles(const std::vector<std::string>& files) {
|
||||
Emit("drop-files", files);
|
||||
}
|
||||
|
||||
bool Tray::IsDestroyed() const {
|
||||
return !tray_icon_;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue