From d7ffac75143b8ca0ba900844360f1c6583d36b0d Mon Sep 17 00:00:00 2001 From: "dzhioev@chromium.org" Date: Thu, 10 Apr 2014 13:17:17 +0000 Subject: Implemented system tray UI for new account management. * Added new mode in TrayUser for the case when new account management is enabled (--new-profile-management flag). In fact TrayUser is now supporting four different modes, depending of states of |multi-profiles| flag and |new-profile-management| flag. * Massive refactoring were made in tray_user.cc to isolate UserCardView creation in separate class and make code more clear. * UI for the cases when new account management is disabled remained without changes. Known issues: * There are no tests for new UI. Hopefully old UI is covered by tests already. * New UI is not accessible yet. * Stub implementation of UserAccountsDelegate is used for backend. BUG=344844 TEST=manually Review URL: https://codereview.chromium.org/210903003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@262959 0039d316-1c4b-4281-b951-d872f2087c98 --- ash/system/bluetooth/tray_bluetooth.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'ash/system/bluetooth') diff --git a/ash/system/bluetooth/tray_bluetooth.cc b/ash/system/bluetooth/tray_bluetooth.cc index 62018eb..6f4509f 100644 --- a/ash/system/bluetooth/tray_bluetooth.cc +++ b/ash/system/bluetooth/tray_bluetooth.cc @@ -310,6 +310,7 @@ class BluetoothDetailedView : public TrayDetailsView, HoverHighlightView* container = new HoverHighlightView(this); container->AddLabel( rb.GetLocalizedString(IDS_ASH_STATUS_TRAY_BLUETOOTH_MANAGE_DEVICES), + gfx::ALIGN_LEFT, gfx::Font::NORMAL); container->SetEnabled(delegate->GetBluetoothAvailable()); AddChildView(container); -- cgit v1.1