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

Issue 10753017: In Windows 8 chrome metro mode if we Alt tabbed away from chrome while a tab was loading, we would … (Closed)

Created:
8 years, 5 months ago by ananta
Modified:
8 years, 5 months ago
CC:
chromium-reviews, yusukes+watch_chromium.org, jam, penghuang+watch_chromium.org, joi+watch-content_chromium.org, darin-cc_chromium.org, James Su
Visibility:
Public.

Description

In Windows 8 chrome metro mode if we Alt tabbed away from chrome while a tab was loading, we would end up with a desktop mode render widget view window. The RenderWidgetHostViewWin instance is created with a valid parent window which is the web contents window. We hide it initially and make it visible when the navigation is completed. In the code for hiding the view we call setparent with NULL to orphan the window and then reparent it to the original parent when the view is made visible. This parenting/reparenting code confuses windows 8 metro when we switch focus away to the desktop after the window is hidden and before it becomes visible. In any case we won't receive any paint messages after a window is hidden which is already occurring here. Removing the code to unparent and reparent the RenderWidgetHostViewWin instance. BUG=136272 R=cpu Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=145957

Patch Set 1 #

Total comments: 1

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -26 lines) Patch
M content/browser/renderer_host/render_widget_host_view_win.h View 1 1 chunk +0 lines, -5 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_win.cc View 1 6 chunks +4 lines, -21 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
ananta
8 years, 5 months ago (2012-07-10 00:45:47 UTC) #1
cpu_(ooo_6.6-7.5)
you probably want to add an owner of content to the review :) https://chromiumcodereview.appspot.com/10753017/diff/1/content/browser/renderer_host/render_widget_host_view_win.cc File ...
8 years, 5 months ago (2012-07-10 02:45:17 UTC) #2
ivan_cobs.com.sg
Pls remove the following email adds from your list NOW ivan@cobs.com.sg lynn@cobs.com.sg -----Original Message----- From: ...
8 years, 5 months ago (2012-07-10 03:46:29 UTC) #3
ananta
8 years, 5 months ago (2012-07-10 17:57:18 UTC) #4
ananta
On 2012/07/10 17:57:18, ananta wrote: Removed the parent_hwnd_ member.
8 years, 5 months ago (2012-07-10 17:58:26 UTC) #5
Ben Goodger (Google)
8 years, 5 months ago (2012-07-10 18:00:01 UTC) #6
Cool lgtm.

Powered by Google App Engine
This is Rietveld 408576698