Add dummy implementations for TrayIcon.
This commit is contained in:
parent
dd804b090a
commit
80fb79daac
9 changed files with 231 additions and 0 deletions
29
atom/browser/ui/tray_icon_win.h
Normal file
29
atom/browser/ui/tray_icon_win.h
Normal file
|
@ -0,0 +1,29 @@
|
|||
// 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_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:
|
||||
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;
|
||||
|
||||
private:
|
||||
TrayIconWin();
|
||||
virtual ~TrayIconWin();
|
||||
|
||||
DISALLOW_COPY_AND_ASSIGN(TrayIconWin);
|
||||
};
|
||||
|
||||
} // namespace atom
|
||||
|
||||
#endif // ATOM_BROWSER_UI_TRAY_ICON_WIN_H_
|
Loading…
Add table
Add a link
Reference in a new issue