Add "click" event for TrayIcon.

This commit is contained in:
Cheng Zhao 2014-06-02 11:08:29 +08:00
parent 9699dbb71f
commit cbd9366898
6 changed files with 43 additions and 1 deletions

View file

@ -0,0 +1,20 @@
// Copyright (c) 2014 GitHub, Inc. All rights reserved.
// 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 atom {
class TrayIconObserver {
public:
virtual void OnClicked() {};
protected:
virtual ~TrayIconObserver() {};
};
} // namespace atom
#endif // ATOM_BROWSER_UI_TRAY_ICON_OBSERVER_H_