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

Unified Diff: ash/shell/window_type_launcher.cc

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
« no previous file with comments | « no previous file | ash/system/web_notification/web_notification_tray_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell/window_type_launcher.cc
diff --git a/ash/shell/window_type_launcher.cc b/ash/shell/window_type_launcher.cc
index 09843bcc1ea94a2f1b41759468cb69da064a90d3..a853a64b67969af5866da30c569168baaeed234f 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."),
« no previous file with comments | « no previous file | ash/system/web_notification/web_notification_tray_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698