DescriptionMakes NativeViewHostWin change the parent of the hwnd when
detaching. Without this the hwnd would remain parented so that if
the widget containing the NativeViewHost was destroyed then the
hwnd would get destroyed by virtue of being a child.
Previously we had this logic in NativeTabContentsViewWin (lost in
WebView refactoring), but it seems better to promote to
NativeViewHostWin.
BUG=132090
TEST=none
R=ben@chromium.org,jam@chromium.org
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=149459
Patch Set 1 #Patch Set 2 : Remove tab change #Patch Set 3 : Fix focus issues #
Messages
Total messages: 11 (0 generated)
|