Index: ash/system/tray/tray_views.cc |
diff --git a/ash/system/tray/tray_views.cc b/ash/system/tray/tray_views.cc |
index 4874de5660a7415304ca04b9b230ec5484c8ccfb..62c7cda3f6b4a90e7651393eeedfbd92c0dde899 100644 |
--- a/ash/system/tray/tray_views.cc |
+++ b/ash/system/tray/tray_views.cc |
@@ -36,7 +36,6 @@ views::View* CreatePopupHeaderButtonsContainer() { |
return view; |
} |
-const int kNotificationCloseButtonWidth = 60; |
} |
//////////////////////////////////////////////////////////////////////////////// |
@@ -470,13 +469,10 @@ void TrayNotificationView::InitView(views::View* contents) { |
views::GridLayout* layout = new views::GridLayout(this); |
SetLayoutManager(layout); |
- AddChildView(contents); |
- |
views::ImageButton* close_button = new views::ImageButton(this); |
close_button->SetImage(views::CustomButton::BS_NORMAL, |
ResourceBundle::GetSharedInstance().GetBitmapNamed( |
IDR_AURA_WINDOW_CLOSE)); |
- AddChildView(close_button); |
int contents_width = kTrayPopupWidth - kNotificationCloseButtonWidth; |
views::ColumnSet* columns = layout->AddColumnSet(0); |