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

Unified Diff: ui/views/mus/desktop_window_tree_host_mus.cc

Issue 2693823004: aura-mus: Implement DesktopWindowTreeHostMus::SetOpacity(). (Closed)
Patch Set: Removed the comments in WindowPortMus::SetOpacityFromServer Created 3 years, 10 months 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
« no previous file with comments | « ui/aura/mus/window_tree_host_mus_delegate.h ('k') | ui/views/mus/desktop_window_tree_host_mus_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/mus/desktop_window_tree_host_mus.cc
diff --git a/ui/views/mus/desktop_window_tree_host_mus.cc b/ui/views/mus/desktop_window_tree_host_mus.cc
index e8dcb5b3a5e2c657cc662b7a27b2762d919704b5..26389b854b63277f398c351ed06a4e1e3b6a0313 100644
--- a/ui/views/mus/desktop_window_tree_host_mus.cc
+++ b/ui/views/mus/desktop_window_tree_host_mus.cc
@@ -675,9 +675,7 @@ bool DesktopWindowTreeHostMus::IsFullscreen() const {
ui::SHOW_STATE_FULLSCREEN;
}
void DesktopWindowTreeHostMus::SetOpacity(float opacity) {
- // TODO: this likely need to go to server so that non-client decorations get
- // opacity. http://crbug.com/663619.
- window()->layer()->SetOpacity(opacity);
+ WindowTreeHostMus::SetOpacity(opacity);
}
void DesktopWindowTreeHostMus::SetWindowIcons(const gfx::ImageSkia& window_icon,
« no previous file with comments | « ui/aura/mus/window_tree_host_mus_delegate.h ('k') | ui/views/mus/desktop_window_tree_host_mus_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698