|
|
Correctly set dragLeave and dragEnd coords for OOPIF drag and drop
Currently dragLeave events triggered from the browser process always
have (0, 0) set as coordinates, which is incorrect when the mouse
cursor has not left the page. This patch sets the correct coordinates
when the cursor moves between frames of different processes.
Also, dragEnd event coordinates were not being correctly transformed
before being passed to the target RenderWidgetHost. This patch
applies the transform to move the coordinates into the correct
coordinate space for the frame that receives the dragEnd.
BUG= 669695
Review-Url: https://codereview.chromium.org/2655463015
Cr-Commit-Position: refs/heads/master@{#448797}
Committed: https://chromium.googlesource.com/chromium/src/+/07c272807932376eafddce27c267028b42ba6c31
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+124 lines, -42 lines) |
Patch |
 |
M |
chrome/browser/ui/views/drag_and_drop_interactive_uitest.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+4 lines, -8 lines |
0 comments
|
Download
|
 |
M |
components/test_runner/event_sender.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/browser_plugin/browser_plugin_guest.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_widget_host_impl.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_widget_host_impl.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/browser/web_contents/web_contents_view_android.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/web_contents/web_contents_view_aura.cc
|
View
|
1
2
3
4
5
6
7
|
5 chunks |
+44 lines, -9 lines |
0 comments
|
Download
|
 |
M |
content/browser/web_contents/web_drag_dest_mac.mm
|
View
|
1
2
3
4
5
6
|
4 chunks |
+21 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/browser/web_contents/web_drag_source_mac.mm
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+23 lines, -5 lines |
0 comments
|
Download
|
 |
M |
content/common/drag_messages.h
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/public/browser/render_widget_host.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/renderer/render_widget.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/renderer/render_widget.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+5 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/web/WebFrameWidgetBase.h
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/web/WebFrameWidgetBase.cpp
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+6 lines, -3 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/public/web/WebFrameWidget.h
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
Total messages: 54 (41 generated)
|