|
Fix the html select tag showing up at the wrong position. This was a regression from r166446.
The fix is to watch for the top level aura::Window's movement. In Ash, this would be an aura::Window that is the parent of the WebContents. In desktop Aura, this would be the aura::RootWindow. The change watches for this in WebContentsViewAura, similar to how WebContentsViewWin does this with PositionChangedMessageFilter. The reason is that the parent being watched needs to be updated with tab drags, so it's more convenient to do this at WebContentsViewAura's parent, instead of doing it at the RenderWidgetHostViewAura level (since that would need a list of parents).
This change also fixes OnHostMoved not being called on Windows.
In the reland of this patch, I've also fixed WebContentsView implementations holding on to deleted RenderWidgetHostView objects after an interstitial is hidden.
BUG= 161174
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=168558
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=168767
Total comments: 6
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+125 lines, -3 lines) |
Patch |
 |
M |
content/browser/renderer_host/render_widget_host_impl.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/web_contents/interstitial_page_impl.cc
|
View
|
1
2
3
4
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/web_contents/web_contents_view_android.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/web_contents/web_contents_view_android.cc
|
View
|
1
2
3
4
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/web_contents/web_contents_view_aura.h
|
View
|
1
2
3
4
|
3 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/web_contents/web_contents_view_aura.cc
|
View
|
1
2
3
4
|
6 chunks |
+76 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/browser/web_contents/web_contents_view_gtk.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/web_contents/web_contents_view_gtk.cc
|
View
|
1
2
3
4
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/web_contents/web_contents_view_mac.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/web_contents/web_contents_view_mac.mm
|
View
|
1
2
3
4
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/web_contents/web_contents_view_win.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/web_contents/web_contents_view_win.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/public/browser/web_contents_view.h
|
View
|
1
2
3
4
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/test/test_web_contents_view.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/test/test_web_contents_view.cc
|
View
|
1
2
3
4
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/aura/root_window_host_win.h
|
View
|
1
2
3
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/aura/root_window_host_win.cc
|
View
|
1
2
3
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/views/widget/desktop_aura/desktop_root_window_host_win.cc
|
View
|
1
2
3
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
Total messages: 6 (0 generated)
|