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.
|
|
|
|
|
|
|
|
#ifndef ATOM_BROWSER_UI_TRAY_ICON_WIN_H_
|
|
|
|
#define ATOM_BROWSER_UI_TRAY_ICON_WIN_H_
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
|
|
|
|
#include "atom/browser/ui/tray_icon.h"
|
|
|
|
|
|
|
|
namespace atom {
|
|
|
|
|
|
|
|
class TrayIconWin : public TrayIcon {
|
|
|
|
public:
|
2014-05-30 15:57:54 +00:00
|
|
|
TrayIconWin();
|
|
|
|
virtual ~TrayIconWin();
|
|
|
|
|
2014-05-30 02:31:27 +00:00
|
|
|
virtual void SetImage(const gfx::ImageSkia& image) OVERRIDE;
|
|
|
|
virtual void SetPressedImage(const gfx::ImageSkia& image) OVERRIDE;
|
|
|
|
virtual void SetToolTip(const std::string& tool_tip) OVERRIDE;
|
2014-05-30 06:37:53 +00:00
|
|
|
virtual void SetContextMenu(ui::SimpleMenuModel* menu_model) OVERRIDE;
|
2014-05-30 02:31:27 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
DISALLOW_COPY_AND_ASSIGN(TrayIconWin);
|
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace atom
|
|
|
|
|
|
|
|
#endif // ATOM_BROWSER_UI_TRAY_ICON_WIN_H_
|