Send bounding Rect on tray double click events
This commit is contained in:
parent
7ceca9f426
commit
f53995d555
6 changed files with 8 additions and 8 deletions
|
@ -44,8 +44,8 @@ void Tray::OnClicked(const gfx::Rect& bounds) {
|
|||
Emit("clicked", bounds);
|
||||
}
|
||||
|
||||
void Tray::OnDoubleClicked() {
|
||||
Emit("double-clicked");
|
||||
void Tray::OnDoubleClicked(const gfx::Rect& bounds) {
|
||||
Emit("double-clicked", bounds);
|
||||
}
|
||||
|
||||
void Tray::OnBalloonShow() {
|
||||
|
|
|
@ -43,7 +43,7 @@ class Tray : public mate::EventEmitter,
|
|||
|
||||
// TrayIconObserver:
|
||||
void OnClicked(const gfx::Rect& bounds) override;
|
||||
void OnDoubleClicked() override;
|
||||
void OnDoubleClicked(const gfx::Rect& bounds) override;
|
||||
void OnBalloonShow() override;
|
||||
void OnBalloonClicked() override;
|
||||
void OnBalloonClosed() override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue