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

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

Issue 2108793002: mash: Convert system tray logout button to wm common types (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more review comments, fix mash_unittests Created 4 years, 5 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
« 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 namespace ash { 7 namespace ash {
8 8
9 NetworkIconInfo::NetworkIconInfo() 9 NetworkIconInfo::NetworkIconInfo()
10 : connecting(false), 10 : connecting(false),
(...skipping 24 matching lines...) Expand all
35 factory_reset_required(false) {} 35 factory_reset_required(false) {}
36 36
37 UpdateInfo::~UpdateInfo() {} 37 UpdateInfo::~UpdateInfo() {}
38 38
39 SystemTrayDelegate::SystemTrayDelegate() {} 39 SystemTrayDelegate::SystemTrayDelegate() {}
40 40
41 SystemTrayDelegate::~SystemTrayDelegate() {} 41 SystemTrayDelegate::~SystemTrayDelegate() {}
42 42
43 void SystemTrayDelegate::Initialize() {} 43 void SystemTrayDelegate::Initialize() {}
44 44
45 void SystemTrayDelegate::Shutdown() {}
46
47 bool SystemTrayDelegate::GetTrayVisibilityOnStartup() { 45 bool SystemTrayDelegate::GetTrayVisibilityOnStartup() {
48 return false; 46 return false;
49 } 47 }
50 48
51 LoginStatus SystemTrayDelegate::GetUserLoginStatus() const { 49 LoginStatus SystemTrayDelegate::GetUserLoginStatus() const {
52 return LoginStatus::NOT_LOGGED_IN; 50 return LoginStatus::NOT_LOGGED_IN;
53 } 51 }
54 52
55 void SystemTrayDelegate::ChangeProfilePicture() {} 53 void SystemTrayDelegate::ChangeProfilePicture() {}
56 54
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 ShutdownPolicyObserver* observer) {} 228 ShutdownPolicyObserver* observer) {}
231 229
232 void SystemTrayDelegate::ShouldRebootOnShutdown( 230 void SystemTrayDelegate::ShouldRebootOnShutdown(
233 const RebootOnShutdownCallback& callback) {} 231 const RebootOnShutdownCallback& callback) {}
234 232
235 VPNDelegate* SystemTrayDelegate::GetVPNDelegate() const { 233 VPNDelegate* SystemTrayDelegate::GetVPNDelegate() const {
236 return nullptr; 234 return nullptr;
237 } 235 }
238 236
239 } // namespace ash 237 } // 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