Chromium Code Reviews| Index: ui/views/widget/desktop_aura/desktop_root_window_host_win.cc |
| =================================================================== |
| --- ui/views/widget/desktop_aura/desktop_root_window_host_win.cc (revision 195576) |
| +++ ui/views/widget/desktop_aura/desktop_root_window_host_win.cc (working copy) |
| @@ -383,6 +383,14 @@ |
| void DesktopRootWindowHostWin::OnNativeWidgetBlur() { |
| } |
| +void DesktopRootWindowHostWin::SetInactiveRenderingDisabled( |
| + bool disable_inactive) { |
| + ::DefWindowProc(message_handler_->hwnd(), |
|
sky
2013/04/23 21:25:59
Add a description as to why this is safe.
ananta
2013/04/23 21:32:28
Done.
|
| + WM_NCACTIVATE, |
| + !!disable_inactive, |
| + 0); |
| +} |
| + |
| //////////////////////////////////////////////////////////////////////////////// |
| // DesktopRootWindowHostWin, RootWindowHost implementation: |