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

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

Issue 2497123002: chromeos: Move device shutdown handling out of chrome into ash (Closed)
Patch Set: rebase Created 4 years, 1 month 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
« no previous file with comments | « ash/common/system/tray/system_tray_delegate.h ('k') | ash/common/wm_shell.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/common/system/tray/system_tray_delegate.h" 5 #include "ash/common/system/tray/system_tray_delegate.h"
6 6
7 #include "ash/common/system/tray/ime_info.h" 7 #include "ash/common/system/tray/ime_info.h"
8 #include "ash/common/system/tray/system_tray_item.h" 8 #include "ash/common/system/tray/system_tray_item.h"
9 9
10 namespace ash { 10 namespace ash {
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 bool SystemTrayDelegate::IsSearchKeyMappedToCapsLock() { 151 bool SystemTrayDelegate::IsSearchKeyMappedToCapsLock() {
152 return false; 152 return false;
153 } 153 }
154 154
155 void SystemTrayDelegate::AddCustodianInfoTrayObserver( 155 void SystemTrayDelegate::AddCustodianInfoTrayObserver(
156 CustodianInfoTrayObserver* observer) {} 156 CustodianInfoTrayObserver* observer) {}
157 157
158 void SystemTrayDelegate::RemoveCustodianInfoTrayObserver( 158 void SystemTrayDelegate::RemoveCustodianInfoTrayObserver(
159 CustodianInfoTrayObserver* observer) {} 159 CustodianInfoTrayObserver* observer) {}
160 160
161 void SystemTrayDelegate::AddShutdownPolicyObserver(
162 ShutdownPolicyObserver* observer) {}
163
164 void SystemTrayDelegate::RemoveShutdownPolicyObserver(
165 ShutdownPolicyObserver* observer) {}
166
167 void SystemTrayDelegate::ShouldRebootOnShutdown(
168 const RebootOnShutdownCallback& callback) {}
169
170 VPNDelegate* SystemTrayDelegate::GetVPNDelegate() const { 161 VPNDelegate* SystemTrayDelegate::GetVPNDelegate() const {
171 return nullptr; 162 return nullptr;
172 } 163 }
173 164
174 std::unique_ptr<SystemTrayItem> SystemTrayDelegate::CreateRotationLockTrayItem( 165 std::unique_ptr<SystemTrayItem> SystemTrayDelegate::CreateRotationLockTrayItem(
175 SystemTray* tray) { 166 SystemTray* tray) {
176 return nullptr; 167 return nullptr;
177 } 168 }
178 169
179 } // namespace ash 170 } // namespace ash
OLDNEW
« no previous file with comments | « ash/common/system/tray/system_tray_delegate.h ('k') | ash/common/wm_shell.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698