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

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

Issue 2822033002: cros: Use SessionController to enable system tray settings / notifications tray (Closed)
Patch Set: Created 3 years, 8 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
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_delegate.h" 5 #include "ash/system/tray/system_tray_delegate.h"
6 6
7 #include "ash/system/tray/ime_info.h" 7 #include "ash/system/tray/ime_info.h"
8 #include "ash/system/tray/system_tray_item.h" 8 #include "ash/system/tray/system_tray_item.h"
9 9
10 namespace ash { 10 namespace ash {
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 } 44 }
45 45
46 bool SystemTrayDelegate::IsUserSupervised() const { 46 bool SystemTrayDelegate::IsUserSupervised() const {
47 return false; 47 return false;
48 } 48 }
49 49
50 bool SystemTrayDelegate::IsUserChild() const { 50 bool SystemTrayDelegate::IsUserChild() const {
51 return false; 51 return false;
52 } 52 }
53 53
54 bool SystemTrayDelegate::ShouldShowSettings() const {
55 return false;
56 }
57
58 bool SystemTrayDelegate::ShouldShowNotificationTray() const {
59 return false;
60 }
61
62 void SystemTrayDelegate::ShowEnterpriseInfo() {} 54 void SystemTrayDelegate::ShowEnterpriseInfo() {}
63 55
64 void SystemTrayDelegate::ShowUserLogin() {} 56 void SystemTrayDelegate::ShowUserLogin() {}
65 57
66 void SystemTrayDelegate::GetCurrentIME(IMEInfo* info) {} 58 void SystemTrayDelegate::GetCurrentIME(IMEInfo* info) {}
67 59
68 void SystemTrayDelegate::GetAvailableIMEList(IMEInfoList* list) {} 60 void SystemTrayDelegate::GetAvailableIMEList(IMEInfoList* list) {}
69 61
70 void SystemTrayDelegate::GetCurrentIMEProperties(IMEPropertyInfoList* list) {} 62 void SystemTrayDelegate::GetCurrentIMEProperties(IMEPropertyInfoList* list) {}
71 63
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 95
104 void SystemTrayDelegate::RemoveCustodianInfoTrayObserver( 96 void SystemTrayDelegate::RemoveCustodianInfoTrayObserver(
105 CustodianInfoTrayObserver* observer) {} 97 CustodianInfoTrayObserver* observer) {}
106 98
107 std::unique_ptr<SystemTrayItem> SystemTrayDelegate::CreateRotationLockTrayItem( 99 std::unique_ptr<SystemTrayItem> SystemTrayDelegate::CreateRotationLockTrayItem(
108 SystemTray* tray) { 100 SystemTray* tray) {
109 return nullptr; 101 return nullptr;
110 } 102 }
111 103
112 } // namespace ash 104 } // namespace ash
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698