Chromium Code Reviews| Index: ui/message_center/cocoa/notification_controller.mm |
| diff --git a/ui/message_center/cocoa/notification_controller.mm b/ui/message_center/cocoa/notification_controller.mm |
| index e10cf3716eef43bdb506e8ab732f49496b0bfc97..4fa907c256740d49120fd0255c0391059b6606e1 100644 |
| --- a/ui/message_center/cocoa/notification_controller.mm |
| +++ b/ui/message_center/cocoa/notification_controller.mm |
| @@ -457,6 +457,7 @@ |
| maxNumberOfLines:message_center::kContextMessageLineLimit]; |
| [contextMessage_ setString:base::SysUTF16ToNSString(elided)]; |
| [contextMessage_ sizeToFit]; |
| + |
|
dewittj
2015/12/02 17:08:24
nit: any reason to add this line?
Miguel Garcia
2015/12/02 17:29:37
no reason, removed now
|
| NSRect contextMessageFrame = [contextMessage_ frame]; |
| if (notification->context_message().empty() && |
| @@ -473,6 +474,8 @@ |
| contextMessageFrame.size.height = NSHeight([contextMessage_ frame]); |
| } |
| + NSRect settingsButtonFrame = [settingsButton_ frame]; |
| + |
| // Create the list item views (up to a maximum). |
| [listView_ removeFromSuperview]; |
| NSRect listFrame = NSZeroRect; |
| @@ -661,6 +664,7 @@ |
| [title_ setFrame:titleFrame]; |
| [message_ setFrame:messageFrame]; |
| [contextMessage_ setFrame:contextMessageFrame]; |
| + [settingsButton_ setFrame:settingsButtonFrame]; |
| [listView_ setFrame:listFrame]; |
| [progressBarView_ setFrame:progressBarFrame]; |