2014-10-31 18:17:05 +00:00
|
|
|
// Copyright (c) 2014 GitHub, Inc.
|
2014-05-30 02:31:27 +00:00
|
|
|
// Use of this source code is governed by the MIT license that can be
|
|
|
|
// found in the LICENSE file.
|
|
|
|
|
|
|
|
#include "atom/browser/ui/tray_icon.h"
|
|
|
|
|
|
|
|
namespace atom {
|
|
|
|
|
2014-05-30 06:37:53 +00:00
|
|
|
TrayIcon::TrayIcon() {
|
2014-05-30 02:31:27 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
TrayIcon::~TrayIcon() {
|
|
|
|
}
|
|
|
|
|
2014-09-09 11:33:58 +00:00
|
|
|
void TrayIcon::SetTitle(const std::string& title) {
|
|
|
|
}
|
|
|
|
|
2014-09-09 11:39:39 +00:00
|
|
|
void TrayIcon::SetHighlightMode(bool highlight) {
|
|
|
|
}
|
|
|
|
|
2014-06-02 03:08:29 +00:00
|
|
|
void TrayIcon::NotifyClicked() {
|
|
|
|
FOR_EACH_OBSERVER(TrayIconObserver, observers_, OnClicked());
|
|
|
|
}
|
|
|
|
|
2014-09-09 11:45:21 +00:00
|
|
|
void TrayIcon::NotifyDoubleClicked() {
|
|
|
|
FOR_EACH_OBSERVER(TrayIconObserver, observers_, OnDoubleClicked());
|
|
|
|
}
|
|
|
|
|
2014-05-30 02:31:27 +00:00
|
|
|
} // namespace atom
|