Commit 79413226 authored by Xiaoqian Dai's avatar Xiaoqian Dai Committed by Chromium LUCI CQ

capture mode: Adjust capture mode feature pod order in quick settings.

Bug: 1166828
Change-Id: Ic54c9c2f1c42a86802a1c9df3ce558cc18586c21
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2630292Reviewed-by: default avatarAhmed Fakhry <afakhry@chromium.org>
Commit-Queue: Xiaoqian Dai <xdai@chromium.org>
Cr-Commit-Position: refs/heads/master@{#843785}
parent 68ec0ce0
...@@ -439,13 +439,13 @@ void UnifiedSystemTrayController::InitFeaturePods() { ...@@ -439,13 +439,13 @@ void UnifiedSystemTrayController::InitFeaturePods() {
AddFeaturePodItem(std::make_unique<QuietModeFeaturePodController>(this)); AddFeaturePodItem(std::make_unique<QuietModeFeaturePodController>(this));
AddFeaturePodItem(std::make_unique<RotationLockFeaturePodController>()); AddFeaturePodItem(std::make_unique<RotationLockFeaturePodController>());
AddFeaturePodItem(std::make_unique<PrivacyScreenFeaturePodController>()); AddFeaturePodItem(std::make_unique<PrivacyScreenFeaturePodController>());
if (features::IsCaptureModeEnabled())
AddFeaturePodItem(std::make_unique<CaptureModeFeaturePodController>(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));
AddFeaturePodItem(std::make_unique<IMEFeaturePodController>(this)); AddFeaturePodItem(std::make_unique<IMEFeaturePodController>(this));
AddFeaturePodItem(std::make_unique<LocaleFeaturePodController>(this)); AddFeaturePodItem(std::make_unique<LocaleFeaturePodController>(this));
if (features::IsCaptureModeEnabled())
AddFeaturePodItem(std::make_unique<CaptureModeFeaturePodController>(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)); AddFeaturePodItem(std::make_unique<NearbyShareFeaturePodController>(this));
......
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