Commit ecbb0acf authored by Curt Clemens's avatar Curt Clemens Committed by Chromium LUCI CQ

[Nearby] Change quick settings pod button ordering to move Nearby up

Nearby visibility was being pushed to the second page of the system
tray. This made it hard to discover. This cl moves Nearby and screen
capture higher in the ordering to increase the likelihood that they
end up on the first page.

This new ordering was discussed here:
https://groups.google.com/a/google.com/g/chromeos-ui-review-listeners/c/pp87GLQT3a0

Screenshot: https://screenshot.googleplex.com/9hzZ4VsRw38Mnb5.png

Fixed: 1164456
Change-Id: I5d700757d4893ffea829a816758b1a3ffc372955
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2622518
Commit-Queue: Curt Clemens <cclem@google.com>
Reviewed-by: default avatarJames Cook <jamescook@chromium.org>
Cr-Commit-Position: refs/heads/master@{#844139}
parent 57af2fec
...@@ -441,6 +441,7 @@ void UnifiedSystemTrayController::InitFeaturePods() { ...@@ -441,6 +441,7 @@ void UnifiedSystemTrayController::InitFeaturePods() {
AddFeaturePodItem(std::make_unique<PrivacyScreenFeaturePodController>()); AddFeaturePodItem(std::make_unique<PrivacyScreenFeaturePodController>());
if (features::IsCaptureModeEnabled()) if (features::IsCaptureModeEnabled())
AddFeaturePodItem(std::make_unique<CaptureModeFeaturePodController>(this)); AddFeaturePodItem(std::make_unique<CaptureModeFeaturePodController>(this));
AddFeaturePodItem(std::make_unique<NearbyShareFeaturePodController>(this));
AddFeaturePodItem(std::make_unique<NightLightFeaturePodController>(this)); AddFeaturePodItem(std::make_unique<NightLightFeaturePodController>(this));
AddFeaturePodItem(std::make_unique<CastFeaturePodController>(this)); AddFeaturePodItem(std::make_unique<CastFeaturePodController>(this));
AddFeaturePodItem(std::make_unique<VPNFeaturePodController>(this)); AddFeaturePodItem(std::make_unique<VPNFeaturePodController>(this));
...@@ -448,7 +449,6 @@ void UnifiedSystemTrayController::InitFeaturePods() { ...@@ -448,7 +449,6 @@ void UnifiedSystemTrayController::InitFeaturePods() {
AddFeaturePodItem(std::make_unique<LocaleFeaturePodController>(this)); AddFeaturePodItem(std::make_unique<LocaleFeaturePodController>(this));
if (features::IsDarkLightModeEnabled()) if (features::IsDarkLightModeEnabled())
AddFeaturePodItem(std::make_unique<DarkModeFeaturePodController>(this)); AddFeaturePodItem(std::make_unique<DarkModeFeaturePodController>(this));
AddFeaturePodItem(std::make_unique<NearbyShareFeaturePodController>(this));
// If you want to add a new feature pod item, add here. // If you want to add a new feature pod item, add here.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment