tray_icon_win.cc 379 B

1234567891011121314151617
  1. // Copyright (c) 2014 GitHub, Inc.
  2. // Use of this source code is governed by the MIT license that can be
  3. // found in the LICENSE file.
  4. #include "atom/browser/ui/win/notify_icon.h"
  5. #include "atom/browser/ui/win/notify_icon_host.h"
  6. namespace atom {
  7. // static
  8. TrayIcon* TrayIcon::Create() {
  9. static NotifyIconHost host;
  10. return host.CreateNotifyIcon();
  11. }
  12. } // namespace atom