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

Side by Side Diff: ash/system/tray/system_tray_item.cc

Issue 10332152: Add TraySms for SMS messages. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 8 years, 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ash/system/tray/system_tray_item.h" 5 #include "ash/system/tray/system_tray_item.h"
6 6
7 #include "ash/shell.h" 7 #include "ash/shell.h"
8 #include "ash/system/tray/system_tray.h" 8 #include "ash/system/tray/system_tray.h"
9 #include "ui/views/view.h" 9 #include "ui/views/view.h"
10 10
(...skipping 26 matching lines...) Expand all
37 37
38 void SystemTrayItem::DestroyDefaultView() { 38 void SystemTrayItem::DestroyDefaultView() {
39 } 39 }
40 40
41 void SystemTrayItem::DestroyDetailedView() { 41 void SystemTrayItem::DestroyDetailedView() {
42 } 42 }
43 43
44 void SystemTrayItem::DestroyNotificationView() { 44 void SystemTrayItem::DestroyNotificationView() {
45 } 45 }
46 46
47 void SystemTrayItem::UpdateAfterLoginStatusChange(user::LoginStatus status) {
48 }
49
47 void SystemTrayItem::PopupDetailedView(int for_seconds, bool activate) { 50 void SystemTrayItem::PopupDetailedView(int for_seconds, bool activate) {
48 Shell::GetInstance()->tray()->ShowDetailedView(this, for_seconds, activate); 51 Shell::GetInstance()->tray()->ShowDetailedView(this, for_seconds, activate);
49 } 52 }
50 53
51 void SystemTrayItem::SetDetailedViewCloseDelay(int for_seconds) { 54 void SystemTrayItem::SetDetailedViewCloseDelay(int for_seconds) {
52 Shell::GetInstance()->tray()->SetDetailedViewCloseDelay(for_seconds); 55 Shell::GetInstance()->tray()->SetDetailedViewCloseDelay(for_seconds);
53 } 56 }
54 57
58 void SystemTrayItem::HideDetailedView() {
59 Shell::GetInstance()->tray()->HideDetailedView(this);
60 }
61
55 void SystemTrayItem::ShowNotificationView() { 62 void SystemTrayItem::ShowNotificationView() {
56 Shell::GetInstance()->tray()->ShowNotificationView(this); 63 Shell::GetInstance()->tray()->ShowNotificationView(this);
57 } 64 }
58 65
59 void SystemTrayItem::HideNotificationView() { 66 void SystemTrayItem::HideNotificationView() {
60 Shell::GetInstance()->tray()->HideNotificationView(this); 67 Shell::GetInstance()->tray()->HideNotificationView(this);
61 } 68 }
62 69
63 } // namespace ash 70 } // namespace ash
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698