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

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

Issue 23769003: Revert 220500 "Adds the contextMessage field to notifications." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 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: trunk/src/ui/message_center/cocoa/notification_controller_unittest.mm
===================================================================
--- trunk/src/ui/message_center/cocoa/notification_controller_unittest.mm (revision 220506)
+++ trunk/src/ui/message_center/cocoa/notification_controller_unittest.mm (working copy)
@@ -84,10 +84,6 @@
return message_.get();
}
-- (NSTextField*)contextMessageView {
- return contextMessage_.get();
-}
-
- (NSView*)listItemView {
return listItemView_.get();
}
@@ -276,7 +272,6 @@
UTF8ToUTF16("Second title"),
UTF8ToUTF16("second slightly longer message"));
optional.items.push_back(item2);
- optional.context_message = UTF8ToUTF16("Context Message");
scoped_ptr<message_center::Notification> notification(
new message_center::Notification(
@@ -298,7 +293,6 @@
EXPECT_FALSE([[controller titleView] isHidden]);
EXPECT_TRUE([[controller messageView] isHidden]);
- EXPECT_FALSE([[controller contextMessageView] isHidden]);
EXPECT_EQ(2u, [[[controller listItemView] subviews] count]);
EXPECT_LT(NSMaxY([[controller listItemView] frame]),
« no previous file with comments | « trunk/src/ui/message_center/cocoa/notification_controller.mm ('k') | trunk/src/ui/message_center/message_center_style.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698