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

Unified Diff: content/browser/renderer_host/render_widget_host_view_win.cc

Issue 10753017: In Windows 8 chrome metro mode if we Alt tabbed away from chrome while a tab was loading, we would … (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 5 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/render_widget_host_view_win.cc
===================================================================
--- content/browser/renderer_host/render_widget_host_view_win.cc (revision 145702)
+++ content/browser/renderer_host/render_widget_host_view_win.cc (working copy)
@@ -939,13 +939,7 @@
}
void RenderWidgetHostViewWin::Show() {
- if (!is_fullscreen_) {
- DCHECK(parent_hwnd_);
- DCHECK(parent_hwnd_ != ui::GetWindowToParentTo(true));
- SetParent(parent_hwnd_);
- }
ShowWindow(SW_SHOW);
-
WasRestored();
}
@@ -960,13 +954,6 @@
::SetFocus(NULL);
ShowWindow(SW_HIDE);
- if (!is_fullscreen_) {
- // Cache the old parent, then orphan the window so we stop receiving
- // messages.
- parent_hwnd_ = GetParent();
- SetParent(NULL);
- }
cpu_(ooo_6.6-7.5) 2012/07/10 02:45:18 do we need the parent_hwnd_ anymore?
-
WasHidden();
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698