| Index: ui/message_center/views/custom_notification_view.cc
|
| diff --git a/ui/message_center/views/custom_notification_view.cc b/ui/message_center/views/custom_notification_view.cc
|
| index 14106fb916253ea0ad13c213ad39219b224ba0b0..899bb75f4e7823ca1afc50473363f9c302807330 100644
|
| --- a/ui/message_center/views/custom_notification_view.cc
|
| +++ b/ui/message_center/views/custom_notification_view.cc
|
| @@ -19,6 +19,9 @@
|
|
|
| namespace message_center {
|
|
|
| +// static
|
| +const char CustomNotificationView::kViewClassName[] = "CustomNotificationView";
|
| +
|
| CustomNotificationView::CustomNotificationView(
|
| MessageCenterController* controller,
|
| const Notification& notification)
|
| @@ -80,6 +83,10 @@ bool CustomNotificationView::IsPinned() const {
|
| return contents_view_delegate_->IsPinned();
|
| }
|
|
|
| +const char* CustomNotificationView::GetClassName() const {
|
| + return kViewClassName;
|
| +}
|
| +
|
| gfx::Size CustomNotificationView::GetPreferredSize() const {
|
| const gfx::Insets insets = GetInsets();
|
| const int contents_width = kNotificationWidth - insets.width();
|
|
|