Pass bounds in clicked event of tray

This commit is contained in:
Cheng Zhao 2015-05-04 11:43:05 +08:00
parent a53b1f7edf
commit f5cf3556b1
6 changed files with 14 additions and 12 deletions

View file

@ -40,8 +40,8 @@ mate::Wrappable* Tray::New(const gfx::Image& image) {
return new Tray(image);
}
void Tray::OnClicked(const gfx::Point& pos) {
Emit("clicked", pos);
void Tray::OnClicked(const gfx::Rect& bounds) {
Emit("clicked", bounds);
}
void Tray::OnDoubleClicked() {