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

Unified Diff: ash/test/test_system_tray_item.cc

Issue 2583393002: Send notification to users upon receiving sms messages (Closed)
Patch Set: update return type Created 3 years, 10 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
« no previous file with comments | « ash/test/test_system_tray_item.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « ash/test/test_system_tray_item.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698