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

Unified Diff: chrome/browser/notifications/notification.h

Issue 12277024: Notificaitons refactor step 2 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more feedback from Steven Created 7 years, 10 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: chrome/browser/notifications/notification.h
diff --git a/chrome/browser/notifications/notification.h b/chrome/browser/notifications/notification.h
index 3feb6f8382699e1a6ccc1beb60e9a3915178130f..c5658a793e3cc1985fbd095867f89ef25ae5ceac 100644
--- a/chrome/browser/notifications/notification.h
+++ b/chrome/browser/notifications/notification.h
@@ -15,7 +15,7 @@
#include "googleurl/src/gurl.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebTextDirection.h"
#include "ui/gfx/image/image_skia.h"
-#include "ui/notifications/notification_types.h"
+#include "ui/message_center/notification_types.h"
// Representation of a notification to be shown to the user.
// On non-Ash platforms these are rendered as HTML, sometimes described by a
@@ -43,7 +43,7 @@ class Notification {
// Initializes a notification with a given type. Takes ownership of
// optional_fields.
- Notification(ui::notifications::NotificationType type,
+ Notification(message_center::NotificationType type,
const GURL& origin_url,
const GURL& icon_url,
const string16& title,
@@ -72,7 +72,7 @@ class Notification {
// If this is a HTML notification.
bool is_html() const { return is_html_; }
- ui::notifications::NotificationType type() const {
+ message_center::NotificationType type() const {
return type_;
}
@@ -118,7 +118,7 @@ class Notification {
NotificationDelegate* delegate() const { return delegate_.get(); }
// The type of notification we'd like displayed.
- ui::notifications::NotificationType type_;
+ message_center::NotificationType type_;
// The Origin of the page/worker which created this notification.
GURL origin_url_;
« no previous file with comments | « chrome/browser/notifications/message_center_notification_manager.cc ('k') | chrome/browser/notifications/notification.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698