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..3912b08a46017baa47e2cae9e6a305d56b4fe733 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. |
| + // TODO(shrikant): Instead of #if, this logic can possibly be moved to |
|
scottmg
2013/12/06 22:00:17
I think just delete this TODO.
sky
2013/12/11 21:17:28
Ah, that's right. In that case isn't the better fi
Shrikant Kelkar
2013/12/11 21:58:37
Please correct me, but as I understand host_deskto
|
| + // platform specific NativeBrowserFrame by extending interface definition. |
| + params.opacity = views::Widget::InitParams::TRANSLUCENT_WINDOW; |
| +#endif |
| } |
| #endif |