mac: Implement the "click" event of TrayIcon.
This commit is contained in:
parent
cbd9366898
commit
da31588e0d
3 changed files with 32 additions and 0 deletions
|
@ -21,6 +21,7 @@ namespace api {
|
|||
Tray::Tray(const gfx::ImageSkia& image)
|
||||
: tray_icon_(TrayIcon::Create()) {
|
||||
tray_icon_->SetImage(image);
|
||||
tray_icon_->AddObserver(this);
|
||||
}
|
||||
|
||||
Tray::~Tray() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue