Add location and keyboard modifiers to tray mouse events
This commit is contained in:
parent
2406d6c279
commit
70544440f9
7 changed files with 37 additions and 16 deletions
|
@ -79,14 +79,14 @@ void TrayIcon::NotifyDropText(const std::string& text) {
|
|||
observer.OnDropText(text);
|
||||
}
|
||||
|
||||
void TrayIcon::NotifyMouseEntered() {
|
||||
void TrayIcon::NotifyMouseEntered(const gfx::Point& location, int modifiers) {
|
||||
for (TrayIconObserver& observer : observers_)
|
||||
observer.OnMouseEntered();
|
||||
observer.OnMouseEntered(location, modifiers);
|
||||
}
|
||||
|
||||
void TrayIcon::NotifyMouseExited() {
|
||||
void TrayIcon::NotifyMouseExited(const gfx::Point& location, int modifiers) {
|
||||
for (TrayIconObserver& observer : observers_)
|
||||
observer.OnMouseExited();
|
||||
observer.OnMouseExited(location, modifiers);
|
||||
}
|
||||
|
||||
void TrayIcon::NotifyDragEntered() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue