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

Unified Diff: ash/shell/window_type_launcher.cc

Issue 1292003004: Elide origins displayed on web notifications. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Style nit Created 5 years, 4 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/shell/window_type_launcher.cc
diff --git a/ash/shell/window_type_launcher.cc b/ash/shell/window_type_launcher.cc
index b608f415de6eecf59ea8647c173c7904b8541cb7..74b5cf705a73f884f9f12bca6d782a12216661d1 100644
--- a/ash/shell/window_type_launcher.cc
+++ b/ash/shell/window_type_launcher.cc
@@ -311,16 +311,13 @@ void WindowTypeLauncher::ButtonPressed(views::Button* sender,
} else if (sender == show_web_notification_) {
scoped_ptr<message_center::Notification> notification;
notification.reset(new message_center::Notification(
- message_center::NOTIFICATION_TYPE_SIMPLE,
- "id0",
+ message_center::NOTIFICATION_TYPE_SIMPLE, "id0",
base::ASCIIToUTF16("Test Shell Web Notification"),
- base::ASCIIToUTF16("Notification message body."),
- gfx::Image(),
- base::ASCIIToUTF16("www.testshell.org"),
- message_center::NotifierId(
- message_center::NotifierId::APPLICATION, "test-id"),
- message_center::RichNotificationData(),
- NULL /* delegate */));
+ base::ASCIIToUTF16("Notification message body."), gfx::Image(),
+ base::ASCIIToUTF16("www.testshell.org"), GURL(),
+ message_center::NotifierId(message_center::NotifierId::APPLICATION,
+ "test-id"),
+ message_center::RichNotificationData(), NULL /* delegate */));
ash::Shell::GetPrimaryRootWindowController()->shelf()->status_area_widget()
->web_notification_tray()->message_center()
« no previous file with comments | « ash/display/resolution_notification_controller.cc ('k') | ash/system/chromeos/bluetooth/bluetooth_notification_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698