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

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

Issue 2468113008: Revert of chromeos: Move ownership of system tray width from chrome to ash (Closed)
Patch Set: 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') | chrome/app/resources/locale_settings.grd » ('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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 bool SystemTrayDelegate::GetSessionStartTime( 143 bool SystemTrayDelegate::GetSessionStartTime(
144 base::TimeTicks* session_start_time) { 144 base::TimeTicks* session_start_time) {
145 return false; 145 return false;
146 } 146 }
147 147
148 bool SystemTrayDelegate::GetSessionLengthLimit( 148 bool SystemTrayDelegate::GetSessionLengthLimit(
149 base::TimeDelta* session_length_limit) { 149 base::TimeDelta* session_length_limit) {
150 return false; 150 return false;
151 } 151 }
152 152
153 int SystemTrayDelegate::GetSystemTrayMenuWidth() {
154 return 0;
155 }
156
153 void SystemTrayDelegate::ActiveUserWasChanged() {} 157 void SystemTrayDelegate::ActiveUserWasChanged() {}
154 158
155 bool SystemTrayDelegate::IsSearchKeyMappedToCapsLock() { 159 bool SystemTrayDelegate::IsSearchKeyMappedToCapsLock() {
156 return false; 160 return false;
157 } 161 }
158 162
159 void SystemTrayDelegate::AddCustodianInfoTrayObserver( 163 void SystemTrayDelegate::AddCustodianInfoTrayObserver(
160 CustodianInfoTrayObserver* observer) {} 164 CustodianInfoTrayObserver* observer) {}
161 165
162 void SystemTrayDelegate::RemoveCustodianInfoTrayObserver( 166 void SystemTrayDelegate::RemoveCustodianInfoTrayObserver(
(...skipping 11 matching lines...) Expand all
174 VPNDelegate* SystemTrayDelegate::GetVPNDelegate() const { 178 VPNDelegate* SystemTrayDelegate::GetVPNDelegate() const {
175 return nullptr; 179 return nullptr;
176 } 180 }
177 181
178 std::unique_ptr<SystemTrayItem> SystemTrayDelegate::CreateRotationLockTrayItem( 182 std::unique_ptr<SystemTrayItem> SystemTrayDelegate::CreateRotationLockTrayItem(
179 SystemTray* tray) { 183 SystemTray* tray) {
180 return nullptr; 184 return nullptr;
181 } 185 }
182 186
183 } // namespace ash 187 } // namespace ash
OLDNEW
« no previous file with comments | « ash/common/system/tray/system_tray_delegate.h ('k') | chrome/app/resources/locale_settings.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698