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

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

Issue 2381753002: Use mojo SystemTray interfaces for both mash and classic ash (Closed)
Patch Set: Restructure based on feedback Created 4 years, 2 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/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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 bool SystemTrayDelegate::IsUserChild() const { 70 bool SystemTrayDelegate::IsUserChild() const {
71 return false; 71 return false;
72 } 72 }
73 73
74 void SystemTrayDelegate::GetSystemUpdateInfo(UpdateInfo* info) const { 74 void SystemTrayDelegate::GetSystemUpdateInfo(UpdateInfo* info) const {
75 info->severity = UpdateInfo::UPDATE_NONE; 75 info->severity = UpdateInfo::UPDATE_NONE;
76 info->update_required = false; 76 info->update_required = false;
77 info->factory_reset_required = false; 77 info->factory_reset_required = false;
78 } 78 }
79 79
80 base::HourClockType SystemTrayDelegate::GetHourClockType() const {
81 return base::k24HourClock;
82 }
83
84 void SystemTrayDelegate::ShowSettings() {} 80 void SystemTrayDelegate::ShowSettings() {}
85 81
86 bool SystemTrayDelegate::ShouldShowSettings() { 82 bool SystemTrayDelegate::ShouldShowSettings() {
87 return false; 83 return false;
88 } 84 }
89 85
90 void SystemTrayDelegate::ShowDateSettings() {}
91
92 void SystemTrayDelegate::ShowSetTimeDialog() {} 86 void SystemTrayDelegate::ShowSetTimeDialog() {}
93 87
94 void SystemTrayDelegate::ShowNetworkSettingsForGuid(const std::string& guid) {} 88 void SystemTrayDelegate::ShowNetworkSettingsForGuid(const std::string& guid) {}
95 89
96 void SystemTrayDelegate::ShowDisplaySettings() {} 90 void SystemTrayDelegate::ShowDisplaySettings() {}
97 91
98 void SystemTrayDelegate::ShowPowerSettings() {} 92 void SystemTrayDelegate::ShowPowerSettings() {}
99 93
100 void SystemTrayDelegate::ShowChromeSlow() {} 94 void SystemTrayDelegate::ShowChromeSlow() {}
101 95
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 VPNDelegate* SystemTrayDelegate::GetVPNDelegate() const { 218 VPNDelegate* SystemTrayDelegate::GetVPNDelegate() const {
225 return nullptr; 219 return nullptr;
226 } 220 }
227 221
228 std::unique_ptr<SystemTrayItem> SystemTrayDelegate::CreateRotationLockTrayItem( 222 std::unique_ptr<SystemTrayItem> SystemTrayDelegate::CreateRotationLockTrayItem(
229 SystemTray* tray) { 223 SystemTray* tray) {
230 return nullptr; 224 return nullptr;
231 } 225 }
232 226
233 } // namespace ash 227 } // namespace ash
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698