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

Side by Side Diff: chrome/browser/ui/ash/system_tray_delegate_common.cc

Issue 731663002: Remove Yoshi charger recall pop up warning UI code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Deprecat the related UMA metrics in histograms.xml. Created 6 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "chrome/browser/ui/ash/system_tray_delegate_common.h" 5 #include "chrome/browser/ui/ash/system_tray_delegate_common.h"
6 6
7 #include "ash/shell.h" 7 #include "ash/shell.h"
8 #include "ash/shell_delegate.h" 8 #include "ash/shell_delegate.h"
9 #include "ash/system/tray/system_tray.h" 9 #include "ash/system/tray/system_tray.h"
10 #include "ash/system/tray/system_tray_notifier.h" 10 #include "ash/system/tray/system_tray_notifier.h"
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 145
146 void SystemTrayDelegateCommon::ShowSupervisedUserInfo() { 146 void SystemTrayDelegateCommon::ShowSupervisedUserInfo() {
147 } 147 }
148 148
149 void SystemTrayDelegateCommon::ShowEnterpriseInfo() { 149 void SystemTrayDelegateCommon::ShowEnterpriseInfo() {
150 } 150 }
151 151
152 void SystemTrayDelegateCommon::ShowUserLogin() { 152 void SystemTrayDelegateCommon::ShowUserLogin() {
153 } 153 }
154 154
155 bool SystemTrayDelegateCommon::ShowSpringChargerReplacementDialog() {
156 return false;
157 }
158
159 bool SystemTrayDelegateCommon::IsSpringChargerReplacementDialogVisible() {
160 return false;
161 }
162
163 bool SystemTrayDelegateCommon::HasUserConfirmedSafeSpringCharger() {
164 return false;
165 }
166
167 void SystemTrayDelegateCommon::ShutDown() { 155 void SystemTrayDelegateCommon::ShutDown() {
168 } 156 }
169 157
170 void SystemTrayDelegateCommon::SignOut() { 158 void SystemTrayDelegateCommon::SignOut() {
171 } 159 }
172 160
173 void SystemTrayDelegateCommon::RequestLockScreen() { 161 void SystemTrayDelegateCommon::RequestLockScreen() {
174 } 162 }
175 163
176 void SystemTrayDelegateCommon::RequestRestartForUpdate() { 164 void SystemTrayDelegateCommon::RequestRestartForUpdate() {
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
295 const content::NotificationSource& source, 283 const content::NotificationSource& source,
296 const content::NotificationDetails& details) { 284 const content::NotificationDetails& details) {
297 if (type == chrome::NOTIFICATION_UPGRADE_RECOMMENDED) { 285 if (type == chrome::NOTIFICATION_UPGRADE_RECOMMENDED) {
298 ash::UpdateInfo info; 286 ash::UpdateInfo info;
299 GetUpdateInfo(content::Source<UpgradeDetector>(source).ptr(), &info); 287 GetUpdateInfo(content::Source<UpgradeDetector>(source).ptr(), &info);
300 GetSystemTrayNotifier()->NotifyUpdateRecommended(info); 288 GetSystemTrayNotifier()->NotifyUpdateRecommended(info);
301 } else { 289 } else {
302 NOTREACHED(); 290 NOTREACHED();
303 } 291 }
304 } 292 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/ash/system_tray_delegate_common.h ('k') | chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698