summaryrefslogtreecommitdiffstats
path: root/chrome/browser/notifications/notification.h
diff options
context:
space:
mode:
authorrsesek@chromium.org <rsesek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-07 01:04:11 +0000
committerrsesek@chromium.org <rsesek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-07 01:04:11 +0000
commita87200d7c6a240a623a79d7d987ff50b32fc42ed (patch)
tree9592da1528653683dab55eb2201c20894abd1f15 /chrome/browser/notifications/notification.h
parentb41d6b5a9976f7586e4c83b5b2af3979339cc002 (diff)
downloadchromium_src-a87200d7c6a240a623a79d7d987ff50b32fc42ed.zip
chromium_src-a87200d7c6a240a623a79d7d987ff50b32fc42ed.tar.gz
chromium_src-a87200d7c6a240a623a79d7d987ff50b32fc42ed.tar.bz2
Switch to using gfx::Image instead of ImageSkia for cross-platform message_center code.
BUG=179916 Review URL: https://chromiumcodereview.appspot.com/12499002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186560 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/notifications/notification.h')
-rw-r--r--chrome/browser/notifications/notification.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/notifications/notification.h b/chrome/browser/notifications/notification.h
index c5658a7..0811f58 100644
--- a/chrome/browser/notifications/notification.h
+++ b/chrome/browser/notifications/notification.h
@@ -14,7 +14,7 @@
#include "chrome/browser/notifications/notification_delegate.h"
#include "googleurl/src/gurl.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebTextDirection.h"
-#include "ui/gfx/image/image_skia.h"
+#include "ui/gfx/image/image.h"
#include "ui/message_center/notification_types.h"
// Representation of a notification to be shown to the user.
@@ -57,7 +57,7 @@ class Notification {
// Initializes a notification with text content and an icon image. Currently
// only used on Ash. Does not generate content_url_.
Notification(const GURL& origin_url,
- const gfx::ImageSkia& icon,
+ const gfx::Image& icon,
const string16& title,
const string16& body,
WebKit::WebTextDirection dir,
@@ -90,7 +90,7 @@ class Notification {
const GURL& icon_url() const { return icon_url_; }
// An image for the icon to be shown (optional).
- const gfx::ImageSkia& icon() const { return icon_; }
+ const gfx::Image& icon() const { return icon_; }
// A display string for the source of the notification.
const string16& display_source() const { return display_source_; }
@@ -124,7 +124,7 @@ class Notification {
GURL origin_url_;
// Image data for the associated icon, used by Ash when available.
- gfx::ImageSkia icon_;
+ gfx::Image icon_;
// URL for the icon associated with the notification. Requires delegate_
// to have a non NULL RenderViewHost.