summaryrefslogtreecommitdiffstats
path: root/ash/system/bluetooth
diff options
context:
space:
mode:
authordzhioev@chromium.org <dzhioev@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-10 13:17:17 +0000
committerdzhioev@chromium.org <dzhioev@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-10 13:17:17 +0000
commitd7ffac75143b8ca0ba900844360f1c6583d36b0d (patch)
tree1c8d4210bd6786d695fa6cdb4910dc3dcdb95a40 /ash/system/bluetooth
parent1ddf5f18253195a96ff84e4eb2ac9428b7939da6 (diff)
downloadchromium_src-d7ffac75143b8ca0ba900844360f1c6583d36b0d.zip
chromium_src-d7ffac75143b8ca0ba900844360f1c6583d36b0d.tar.gz
chromium_src-d7ffac75143b8ca0ba900844360f1c6583d36b0d.tar.bz2
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
Diffstat (limited to 'ash/system/bluetooth')
-rw-r--r--ash/system/bluetooth/tray_bluetooth.cc1
1 files changed, 1 insertions, 0 deletions
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);