Commit 1a822edf authored by Miriam Zimmerman's avatar Miriam Zimmerman Committed by Commit Bot

feedback: Make window background transparent

Bug: 997480
Change-Id: I6738a19078beb447e5e67e307ec700fc77665502
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1973358
Auto-Submit: Miriam Zimmerman <mutexlox@chromium.org>
Commit-Queue: Trent Apted <tapted@chromium.org>
Reviewed-by: default avatarTrent Apted <tapted@chromium.org>
Reviewed-by: default avatarcalamity <calamity@chromium.org>
Cr-Commit-Position: refs/heads/master@{#728757}
parent b1ba4234
...@@ -89,6 +89,12 @@ void ChromeNativeAppWindowViewsAuraAsh::InitializeWindow( ...@@ -89,6 +89,12 @@ void ChromeNativeAppWindowViewsAuraAsh::InitializeWindow(
// Fullscreen doesn't always imply immersive mode (see // Fullscreen doesn't always imply immersive mode (see
// ShouldEnableImmersive()). // ShouldEnableImmersive()).
window->SetProperty(ash::kImmersiveImpliedByFullscreen, false); window->SetProperty(ash::kImmersiveImpliedByFullscreen, false);
// TODO(https://crbug.com/997480): Determine if all non-resizable windows
// should have this behavior, or just the feedback app.
if (app_window->extension_id() == extension_misc::kFeedbackExtensionId) {
window->SetProperty(ash::kBackdropWindowMode,
ash::BackdropWindowMode::kAutoSemiOpaque);
}
observed_window_.Add(window); observed_window_.Add(window);
} }
......
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