|
Implement pointer lock API for out-of-process iframes.
This patch moves the MouseLockDispatcher from RenderView to RenderWidget and
implements the necessary plumbing to allow pointer locking from out-of-process
iframes.
TEST=Manual test please:
Navigate to http://scheib.github.io/HTMLMisc/PointerLockAndFullscreen-iframes.html
and verify that toggling pointer lock from all iframes work
as well as exiting* pointer lock. Verify that the mouse
movement continues to be tracked in the frame that locked
the pointer.
* Exiting can be done by ESC key, ALT-TAB (on Mac Command
Tab), Windows key to bring up start menu etc.
BUG= 601926, 419087
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation
Committed: https://crrev.com/bee1e0ad56ce6b9def191f6ec6ef5a71a2f5d83e
Cr-Commit-Position: refs/heads/master@{#398679}
Total comments: 6
Total comments: 17
Total comments: 10
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+246 lines, -282 lines) |
Patch |
 |
M |
content/browser/frame_host/cross_process_frame_connector.h
|
View
|
1
2
3
4
5
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/frame_host/cross_process_frame_connector.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/frame_host/render_widget_host_view_child_frame.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/frame_host/render_widget_host_view_child_frame.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+15 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_widget_host_impl.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_widget_host_impl.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+4 lines, -6 lines |
0 comments
|
Download
|
 |
M |
content/browser/web_contents/web_contents_impl.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/web_contents/web_contents_impl.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
4 chunks |
+25 lines, -10 lines |
0 comments
|
Download
|
 |
M |
content/content_renderer.gypi
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/renderer/mouse_lock_dispatcher_browsertest.cc
|
View
|
|
13 chunks |
+23 lines, -22 lines |
0 comments
|
Download
|
 |
M |
content/renderer/render_view_impl.h
|
View
|
1
2
3
4
5
|
6 chunks |
+0 lines, -15 lines |
0 comments
|
Download
|
 |
M |
content/renderer/render_view_impl.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
7 chunks |
+1 line, -55 lines |
0 comments
|
Download
|
 |
D |
content/renderer/render_view_mouse_lock_dispatcher.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+0 lines, -41 lines |
0 comments
|
Download
|
 |
D |
content/renderer/render_view_mouse_lock_dispatcher.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+0 lines, -70 lines |
0 comments
|
Download
|
 |
M |
content/renderer/render_widget.h
|
View
|
1
2
3
4
5
6
7
8
9
|
4 chunks |
+15 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/render_widget.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
4 chunks |
+42 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/renderer/render_widget_mouse_lock_dispatcher.h
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+42 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
content/renderer/render_widget_mouse_lock_dispatcher.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
4 chunks |
+17 lines, -22 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/dom/Document.cpp
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/page/ChromeClient.h
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/page/PointerLockController.cpp
|
View
|
1
2
3
4
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/web/ChromeClientImpl.h
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/web/ChromeClientImpl.cpp
|
View
|
1
2
3
4
5
|
1 chunk |
+6 lines, -4 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/web/WebFrameWidgetImpl.h
|
View
|
1
2
3
4
5
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+16 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/web/WebViewImpl.h
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/web/WebViewImpl.cpp
|
View
|
1
2
3
4
5
6
7
8
9
10
|
3 chunks |
+8 lines, -17 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/public/web/WebViewClient.h
|
View
|
1
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
Total messages: 41 (14 generated)
|