Index: ash/test/test_system_tray_item.cc |
diff --git a/ash/test/test_system_tray_item.cc b/ash/test/test_system_tray_item.cc |
index 8370575e8da867c64215f9674bca924b9b357d21..43bc2a37de5f7375dbe8bd107704314bbd3adc14 100644 |
--- a/ash/test/test_system_tray_item.cc |
+++ b/ash/test/test_system_tray_item.cc |
@@ -21,8 +21,7 @@ TestSystemTrayItem::TestSystemTrayItem(SystemTrayItem::UmaType uma_type) |
views_are_visible_(true), |
tray_view_(nullptr), |
default_view_(nullptr), |
- detailed_view_(nullptr), |
- notification_view_(nullptr) {} |
+ detailed_view_(nullptr) {} |
TestSystemTrayItem::~TestSystemTrayItem() {} |
@@ -63,16 +62,6 @@ views::View* TestSystemTrayItem::CreateDetailedView(LoginStatus status) { |
return detailed_view_; |
} |
-views::View* TestSystemTrayItem::CreateNotificationView(LoginStatus status) { |
- if (!has_views_) { |
- notification_view_ = nullptr; |
- return notification_view_; |
- } |
- notification_view_ = new views::View; |
- notification_view_->SetVisible(views_are_visible_); |
- return notification_view_; |
-} |
- |
void TestSystemTrayItem::DestroyTrayView() { |
tray_view_ = nullptr; |
} |
@@ -85,10 +74,6 @@ void TestSystemTrayItem::DestroyDetailedView() { |
detailed_view_ = nullptr; |
} |
-void TestSystemTrayItem::DestroyNotificationView() { |
- notification_view_ = nullptr; |
-} |
- |
void TestSystemTrayItem::UpdateAfterLoginStatusChange(LoginStatus status) {} |
} // namespace test |