summaryrefslogtreecommitdiffstats
path: root/ash
diff options
context:
space:
mode:
Diffstat (limited to 'ash')
-rw-r--r--ash/shell/window_type_launcher.cc3
-rw-r--r--ash/system/web_notification/web_notification_tray_unittest.cc4
2 files changed, 4 insertions, 3 deletions
diff --git a/ash/shell/window_type_launcher.cc b/ash/shell/window_type_launcher.cc
index 09843bc..a853a64b 100644
--- a/ash/shell/window_type_launcher.cc
+++ b/ash/shell/window_type_launcher.cc
@@ -22,6 +22,7 @@
#include "ui/aura/window.h"
#include "ui/compositor/layer.h"
#include "ui/gfx/canvas.h"
+#include "ui/message_center/notification_types.h"
#include "ui/views/controls/button/text_button.h"
#include "ui/views/controls/menu/menu_item_view.h"
#include "ui/views/controls/menu/menu_runner.h"
@@ -342,7 +343,7 @@ void WindowTypeLauncher::ButtonPressed(views::Button* sender,
} else if (sender == show_web_notification_) {
ash::Shell::GetPrimaryRootWindowController()->status_area_widget()->
web_notification_tray()->message_center()->AddNotification(
- ui::notifications::NOTIFICATION_TYPE_SIMPLE,
+ message_center::NOTIFICATION_TYPE_SIMPLE,
"id0",
ASCIIToUTF16("Test Shell Web Notification"),
ASCIIToUTF16("Notification message body."),
diff --git a/ash/system/web_notification/web_notification_tray_unittest.cc b/ash/system/web_notification/web_notification_tray_unittest.cc
index 23ff2ff..ae43b76 100644
--- a/ash/system/web_notification/web_notification_tray_unittest.cc
+++ b/ash/system/web_notification/web_notification_tray_unittest.cc
@@ -16,7 +16,7 @@
#include "ui/message_center/message_center_tray.h"
#include "ui/message_center/message_popup_bubble.h"
#include "ui/message_center/notification_list.h"
-#include "ui/notifications/notification_types.h"
+#include "ui/message_center/notification_types.h"
#include "ui/views/controls/label.h"
#include "ui/views/layout/fill_layout.h"
#include "ui/views/view.h"
@@ -74,7 +74,7 @@ class TestDelegate : public message_center::MessageCenter::Delegate {
void AddNotification(WebNotificationTray* tray, const std::string& id) {
notification_ids_.insert(id);
get_message_center()->AddNotification(
- ui::notifications::NOTIFICATION_TYPE_SIMPLE,
+ message_center::NOTIFICATION_TYPE_SIMPLE,
id,
ASCIIToUTF16("Test Web Notification"),
ASCIIToUTF16("Notification message body."),