Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(761)

Unified Diff: ash/system/tray/system_tray_delegate.h

Issue 10382144: Change SetImage, SetBackground, and SetToggledImage to take in a gfx::ImageSkia (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ash/system/tray/system_tray_delegate.h
diff --git a/ash/system/tray/system_tray_delegate.h b/ash/system/tray/system_tray_delegate.h
index f1ace425c22a38ac778fc66e918667910b131456..6e2c77caa440f39704459cb2dd93f6bd3726f6bc 100644
--- a/ash/system/tray/system_tray_delegate.h
+++ b/ash/system/tray/system_tray_delegate.h
@@ -16,8 +16,7 @@
#include "base/i18n/time_formatting.h"
#include "base/string16.h"
#include "third_party/skia/include/core/SkBitmap.h"
-
-class SkBitmap;
+#include "ui/gfx/image/image_skia.h"
namespace ash {
@@ -27,7 +26,7 @@ struct ASH_EXPORT NetworkIconInfo {
bool highlight;
bool tray_icon_visible;
- SkBitmap image;
+ gfx::ImageSkia image;
string16 name;
string16 description;
std::string service_path;

Powered by Google App Engine
This is Rietveld 408576698