Chromium Code Reviews| Index: chrome/browser/ui/views/frame/browser_frame.cc |
| diff --git a/chrome/browser/ui/views/frame/browser_frame.cc b/chrome/browser/ui/views/frame/browser_frame.cc |
| index 595266846421ea24fd7b896aff6dd27351ebfa00..d6794f98e85111d1960b22ddfe0153cc5b09ab4c 100644 |
| --- a/chrome/browser/ui/views/frame/browser_frame.cc |
| +++ b/chrome/browser/ui/views/frame/browser_frame.cc |
| @@ -96,6 +96,13 @@ void BrowserFrame::InitBrowserFrame() { |
| if (browser_view_->browser()->host_desktop_type() == |
| chrome::HOST_DESKTOP_TYPE_ASH || chrome::ShouldOpenAshOnStartup()) { |
| params.context = ash::Shell::GetPrimaryRootWindow(); |
| + |
| +#if defined(OS_WIN) |
| + // If this window is under ASH on Windows. We need it to be Translucent. |
|
scottmg
2013/12/06 20:52:00
nit; "If this window is under ASH on Windows. We n
Shrikant Kelkar
2013/12/06 21:46:50
Done.
|
| + // TODO(shrikant): Instead of #if, this logic can possibly be moved to |
| + // platform specific NativeBrowserFrame by extending interface definition. |
| + params.opacity = views::Widget::InitParams::TRANSLUCENT_WINDOW; |
|
scottmg
2013/12/06 20:52:00
It should ask ChromeViewsDelegate::UseTransparentW
Shrikant Kelkar
2013/12/06 21:46:50
It doesn't do the right thing as of now for ASH wi
|
| +#endif |
| } |
| #endif |