Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(43)

Unified Diff: ui/views/widget/desktop_aura/desktop_root_window_host_win.cc

Issue 14299009: In Windows desktop Chrome AURA the HandleVisibilityChanged function on the HWNDMessageHandlerDelega… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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:

Powered by Google App Engine
This is Rietveld 408576698