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

Unified Diff: chrome/browser/ui/ash/system_tray_delegate_chromeos.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/ash/system_tray_delegate_chromeos.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/ash/system_tray_delegate_chromeos.cc
diff --git a/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc b/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc
index 7c1e46c36882bc5b669b9fd94821abec6a1e2cc7..cff502b8a3b6e44e067817a83058e9b26b06b148 100644
--- a/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc
+++ b/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc
@@ -609,6 +609,11 @@
return have_session_length_limit_;
}
+int SystemTrayDelegateChromeOS::GetSystemTrayMenuWidth() {
+ return l10n_util::GetLocalizedContentsWidthInPixels(
+ IDS_SYSTEM_TRAY_MENU_BUBBLE_WIDTH_PIXELS);
+}
+
void SystemTrayDelegateChromeOS::ActiveUserWasChanged() {
SetProfile(ProfileManager::GetActiveUserProfile());
GetSystemTrayNotifier()->NotifyUserUpdate();
« no previous file with comments | « chrome/browser/ui/ash/system_tray_delegate_chromeos.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698