X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fui%2Fviews%2Fwidget%2Fdesktop_aura%2Fdesktop_window_tree_host_win.cc;h=634752678154fddcd183b1a60cfb11e7aea365c6;hb=490a4587e7e356282cb1453efaf36de4acc9762f;hp=fc2bda6311aa5a4f12320aa4e32dddff7e74c827;hpb=3a51af92707b9c600d06a404c9db8f07fcd50959;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc b/src/ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc index fc2bda6..6347526 100644 --- a/src/ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc +++ b/src/ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc @@ -365,7 +365,7 @@ void DesktopWindowTreeHostWin::SetVisibilityChangedAnimationsEnabled( } bool DesktopWindowTreeHostWin::ShouldUseNativeFrame() const { - return ui::win::IsAeroGlassEnabled(); + return IsTranslucentWindowOpacitySupported(); } bool DesktopWindowTreeHostWin::ShouldWindowContentsBeTransparent() const { @@ -427,6 +427,10 @@ bool DesktopWindowTreeHostWin::IsAnimatingClosed() const { return pending_close_; } +bool DesktopWindowTreeHostWin::IsTranslucentWindowOpacitySupported() const { + return ui::win::IsAeroGlassEnabled(); +} + //////////////////////////////////////////////////////////////////////////////// // DesktopWindowTreeHostWin, WindowTreeHost implementation: