Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(55)

Unified Diff: ui/views/widget/desktop_aura/desktop_native_widget_aura.cc

Issue 2535753009: Couple of changes for client area (Closed)
Patch Set: nuke todo Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/views/widget/desktop_aura/desktop_native_widget_aura.cc
diff --git a/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc b/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc
index da8f9fbdc63394813406de52c410bb7377b3af3c..91698f4df7100841e63c6e4fe4412027be71e018 100644
--- a/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc
+++ b/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc
@@ -1185,6 +1185,9 @@ void DesktopNativeWidgetAura::OnHostMovedInPixels(
// DesktopNativeWidgetAura, private:
void DesktopNativeWidgetAura::UpdateWindowTransparency() {
+ if (!desktop_window_tree_host_->ShouldUpdateWindowTransparency())
+ return;
+
content_window_->SetTransparent(
desktop_window_tree_host_->ShouldWindowContentsBeTransparent());
// Regardless of transparency or not, this root content window will always
« no previous file with comments | « ui/views/mus/desktop_window_tree_host_mus.cc ('k') | ui/views/widget/desktop_aura/desktop_window_tree_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698