electron/atom/browser/ui/tray_icon_observer.h

29 lines
622 B
C
Raw Normal View History

// Copyright (c) 2014 GitHub, Inc.
2014-06-02 03:08:29 +00:00
// Use of this source code is governed by the MIT license that can be
// found in the LICENSE file.
#ifndef ATOM_BROWSER_UI_TRAY_ICON_OBSERVER_H_
#define ATOM_BROWSER_UI_TRAY_ICON_OBSERVER_H_
namespace gfx {
2015-05-04 03:43:05 +00:00
class Rect;
}
2014-06-02 03:08:29 +00:00
namespace atom {
class TrayIconObserver {
public:
2015-05-04 03:43:05 +00:00
virtual void OnClicked(const gfx::Rect&) {}
virtual void OnDoubleClicked() {}
virtual void OnBalloonShow() {}
virtual void OnBalloonClicked() {}
virtual void OnBalloonClosed() {}
2014-06-02 03:08:29 +00:00
protected:
2014-06-02 03:47:37 +00:00
virtual ~TrayIconObserver() {}
2014-06-02 03:08:29 +00:00
};
} // namespace atom
#endif // ATOM_BROWSER_UI_TRAY_ICON_OBSERVER_H_