]> khamidou — GitHub mirrors - electron.git/commit
Use gfx::Image instead of gfx::ImageSkia in API
authorCheng Zhao <zcbenz@gmail.com>
Sat, 3 Jan 2015 02:43:56 +0000 (18:43 -0800)
committerCheng Zhao <zcbenz@gmail.com>
Sat, 3 Jan 2015 02:43:56 +0000 (18:43 -0800)
commitab83b21fa65a0a6a76cb374bf4e0bb1e23b4866a
treee5c5dcdcbe12941c291e548e5c77411836d1e0ae
parent3d7da455bc7d68c3ea906a299d5eb71f11bc4b55
Use gfx::Image instead of gfx::ImageSkia in API

The gfx::Image can use NSImage directly as underlying format, so we
don't have to decode images ourselves on Mac, and we will also be able
to make use of template images.
atom/browser/api/atom_api_tray.cc
atom/browser/api/atom_api_tray.h
atom/browser/ui/tray_icon.cc
atom/browser/ui/tray_icon.h
atom/browser/ui/tray_icon_cocoa.h
atom/browser/ui/tray_icon_cocoa.mm
atom/browser/ui/tray_icon_gtk.cc
atom/browser/ui/tray_icon_gtk.h
atom/browser/ui/win/notify_icon.cc
atom/browser/ui/win/notify_icon.h