Store window icon as ImageSkia.

This commit is contained in:
Cheng Zhao 2014-08-11 10:06:46 +08:00
parent a696f06a23
commit 445fe158cc
3 changed files with 4 additions and 13 deletions

View file

@ -21,6 +21,7 @@
#include "content/public/browser/notification_registrar.h"
#include "content/public/browser/notification_observer.h"
#include "native_mate/scoped_persistent.h"
#include "ui/gfx/image/image_skia.h"
struct WebPreferences;
@ -34,7 +35,6 @@ class WebContents;
}
namespace gfx {
class Image;
class Point;
class Rect;
class Size;
@ -252,7 +252,7 @@ class NativeWindow : public brightray::DefaultWebContentsDelegate,
bool has_frame_;
// Window icon.
scoped_ptr<gfx::Image> icon_;
gfx::ImageSkia icon_;
private:
// Schedule a notification unresponsive event.