Chromium Code Reviews| Index: chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc |
| diff --git a/chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc b/chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc |
| index a03a3816582a55cad43661f9f2ef8df951b86dce..d2720b627aa5b651990848f3a279d9e4be05c45e 100644 |
| --- a/chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc |
| +++ b/chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc |
| @@ -247,6 +247,9 @@ void BrowserNonClientFrameViewAsh::ResetWindowControls() { |
| // Hide the caption buttons in immersive fullscreen when the tab light bar |
| // is visible because it's confusing when the user hovers or clicks in the |
| // top-right of the screen and hits one. |
| + // TODO(yiyix): Update caption_button_container_'s visibility when Chrome OS |
|
msw
2016/07/20 20:06:50
nit: |caption_button_container_|'s
msw
2016/07/20 20:06:50
q: Could you add MD-specific behavior now and avoi
yiyix
2016/07/21 18:32:35
Done.
yiyix
2016/07/21 18:32:35
As we have discussed offline, there is no behavior
|
| + // MD is enabled by default because it is currently dependent on |
| + // |use_tab_indicators_| which is deprecated in MD. |
| caption_button_container_->SetVisible(!UseImmersiveLightbarHeaderStyle()); |
| caption_button_container_->ResetWindowControls(); |
| } |