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

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

Issue 2377703003: Support SystemTrayDelegate::ShowPowerSettings() in mustash (Closed)
Patch Set: Remove if 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
« no previous file with comments | « chrome/browser/ui/ash/system_tray_client.h ('k') | chrome/browser/ui/ash/system_tray_common.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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_client.h" 5 #include "chrome/browser/ui/ash/system_tray_client.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/bind_helpers.h" 8 #include "base/bind_helpers.h"
9 #include "chrome/browser/browser_process.h" 9 #include "chrome/browser/browser_process.h"
10 #include "chrome/browser/browser_process_platform_part.h" 10 #include "chrome/browser/browser_process_platform_part.h"
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 } 65 }
66 66
67 void SystemTrayClient::ShowDateSettings() { 67 void SystemTrayClient::ShowDateSettings() {
68 SystemTrayCommon::ShowDateSettings(); 68 SystemTrayCommon::ShowDateSettings();
69 } 69 }
70 70
71 void SystemTrayClient::ShowDisplaySettings() { 71 void SystemTrayClient::ShowDisplaySettings() {
72 SystemTrayCommon::ShowDisplaySettings(); 72 SystemTrayCommon::ShowDisplaySettings();
73 } 73 }
74 74
75 void SystemTrayClient::ShowPowerSettings() {
76 SystemTrayCommon::ShowPowerSettings();
77 }
78
75 void SystemTrayClient::ShowChromeSlow() { 79 void SystemTrayClient::ShowChromeSlow() {
76 SystemTrayCommon::ShowChromeSlow(); 80 SystemTrayCommon::ShowChromeSlow();
77 } 81 }
78 82
79 void SystemTrayClient::ShowIMESettings() { 83 void SystemTrayClient::ShowIMESettings() {
80 SystemTrayCommon::ShowIMESettings(); 84 SystemTrayCommon::ShowIMESettings();
81 } 85 }
82 86
83 void SystemTrayClient::ShowHelp() { 87 void SystemTrayClient::ShowHelp() {
84 SystemTrayCommon::ShowHelp(); 88 SystemTrayCommon::ShowHelp();
(...skipping 24 matching lines...) Expand all
109 } 113 }
110 114
111 //////////////////////////////////////////////////////////////////////////////// 115 ////////////////////////////////////////////////////////////////////////////////
112 // chromeos::system::SystemClockObserver: 116 // chromeos::system::SystemClockObserver:
113 117
114 void SystemTrayClient::OnSystemClockChanged( 118 void SystemTrayClient::OnSystemClockChanged(
115 chromeos::system::SystemClock* clock) { 119 chromeos::system::SystemClock* clock) {
116 ConnectToSystemTray(); 120 ConnectToSystemTray();
117 system_tray_->SetUse24HourClock(clock->ShouldUse24HourClock()); 121 system_tray_->SetUse24HourClock(clock->ShouldUse24HourClock());
118 } 122 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/ash/system_tray_client.h ('k') | chrome/browser/ui/ash/system_tray_common.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698