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

Unified Diff: ui/message_center/cocoa/notification_controller_unittest.mm

Issue 14631005: Enable users of NotificationUIManager to specify binary images. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase for relanding. Created 7 years, 6 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: ui/message_center/cocoa/notification_controller_unittest.mm
diff --git a/ui/message_center/cocoa/notification_controller_unittest.mm b/ui/message_center/cocoa/notification_controller_unittest.mm
index 0c70e983a1f2515bd7d234f0e506989f797b0213..e60093bfa70ba457160089c8d7537df3c8fda628 100644
--- a/ui/message_center/cocoa/notification_controller_unittest.mm
+++ b/ui/message_center/cocoa/notification_controller_unittest.mm
@@ -103,6 +103,7 @@ TEST_F(NotificationControllerTest, BasicLayout) {
"",
ASCIIToUTF16("Added to circles"),
ASCIIToUTF16("Jonathan and 5 others"),
+ gfx::Image(),
string16(),
std::string(),
NULL,
@@ -132,6 +133,7 @@ TEST_F(NotificationControllerTest, OverflowText) {
ASCIIToUTF16("And even the message is long. This sure is a wordy "
"notification. Are you really going to read this "
"entire thing?"),
+ gfx::Image(),
string16(),
std::string(),
NULL,
@@ -152,6 +154,7 @@ TEST_F(NotificationControllerTest, Close) {
"an_id",
string16(),
string16(),
+ gfx::Image(),
string16(),
std::string(),
NULL,
@@ -178,6 +181,7 @@ TEST_F(NotificationControllerTest, Update) {
ASCIIToUTF16("A simple title"),
ASCIIToUTF16("This message isn't too long and should fit in the"
"default bounds."),
+ gfx::Image(),
string16(),
std::string(),
NULL,
@@ -211,6 +215,7 @@ TEST_F(NotificationControllerTest, Buttons) {
"an_id",
string16(),
string16(),
+ gfx::Image(),
string16(),
std::string(),
&buttons,
@@ -235,6 +240,7 @@ TEST_F(NotificationControllerTest, Image) {
"an_id",
string16(),
string16(),
+ gfx::Image(),
string16(),
std::string(),
NULL,
@@ -278,6 +284,7 @@ TEST_F(NotificationControllerTest, List) {
"an_id",
string16(),
string16(),
+ gfx::Image(),
string16(),
std::string(),
&items,

Powered by Google App Engine
This is Rietveld 408576698